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]
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]
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]
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]
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 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]
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]
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# How to Program Programming Challenge 8.12: Duplicate Elimination Use a one-dimensional array to solve the following problem: Write an app that inputs five numbers, each of which is between 10 and 100, inclusive. As [More]
Create the class SavingsAccount. Use the static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance, indicating the amount the saver [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]