Purpose: The vending machine program will allow the user to make a selection from a simulated drink machine. The user will simulate inserting coins. When enough money has been entered, the user will make his [More]
C# How To Program Programming Challenge 7-8 Calculating Parking Charges with Object Properties and Methods A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional [More]
4.12: Invoice Class (from C# 2012 How to Program) Create a class called Invoice that a hardware store might use to represent an invoice for an item sold at the store. An Invoice should include [More]
Introduction to Programming using Visual Basic We continue to use VB LINQ to query all three tables to get select customers who made orders, and then summarize those orders for final report. The database Microland.accdb [More]
Introduction to Programming using Visual Basic In the first part of this 3 part series of  exercise we go through the project introduction, demonstrate what the program is supposed to do, and create our database [More]
C# How To Program Programming Challenge 5-41: Airline Reservations System A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You’re to [More]
Create class Rectangle.The class has attributes length and width, each of which defaults to 1. It has read-only properties that calculate the Perimeter and the Area of the rectangle. It has properties for both length [More]
C# How to Program Programming Challenge 11.8: Account Inheritance Hierarchy Create an inheritance hierarchy that a bank might use to represent customers’ bank accounts. All customers at this bank can deposit (i.e., credit) money into [More]
Write a console app that inserts 30 random letters into a List of char. Perform the following queries on the List and display your results: [Hint: Strings can be indexed like arrays to access a [More]
C# How to Program C# Programming Challenge 12.11: Payroll System Modification (C# OOP, C# Inheritance) We modify existing app by adding a new C# class and using C# inheritance we ‘plug’ the class right into [More]
C# 2012 How To Program – Control Statements Pt.2 Programming Challenge 6.17: Calculating Sales with C# ArrayLists, For Loops, Switch Statements A website sells three products whose retail prices are as follows: product 1, $2.98; [More]
C# Programming Challenge 15.9: Restaurant Bill Calculator (Using Winforms, ComboBoxes, ListBox) A restaurant wants an app that calculates a table’s bill. The app should display all the menu items in four ComboBoxes. Each ComboBox should [More]