Program for computing automobile repair bills, Visual Basic Programming

A program is needed to assist computing automobile repair bills.

The cost of labor is $35 per hour.

The costs for parts are subject to a 5% sales tax, which should be added to the parts cost.

The console program should first prompt the user with:

Please enter Customer name, or 'quit' to end:

If the user enters a non-empty string (other than 'quit'), then the user should be prompted as follows (with responses after each prompt):

Please enter Hours of Labor:

Please enter cost of parts:

The bill for the customer should then be printed to the screen, as shown below in the sample output

When the user enters "quit" using ANY combination of upper-or-lower case letters, or simply presses the key, the overall total bill and number of customers should be printed, and the program then end, as shown in the same output below:

 

1607_Program for Computing Automobile Repair Bills.png

Use a constant for the labor rate and sales tax.

Spacing for customer name through total cost for a customer bill should be tabbed.

Build both a C# and Visual basic Program.

Run them both using the following data for input:

Customer name Hours of Labor Cost of Parts

Linda Payne 20 30

John Myer 15.5 25.5

Susan Branda 18 30

End program by entering "quit" for user name

Use compound arithmetic operators where appropriate.

Use a pretest loop for your processing in Main processing (with a priming read).

Posted Date: 2/19/2013 12:29:06 AM | Location : United States







Related Discussions:- Program for computing automobile repair bills, Assignment Help, Ask Question on Program for computing automobile repair bills, Get Answer, Expert's Help, Program for computing automobile repair bills Discussions

Write discussion on Program for computing automobile repair bills
Your posts are moderated
Related Questions
- I have the chapter 5 project completed already. This is due tomorrow. Modify the Very Very .Boards project from Chapter 5 to separate the user interface from the business logic.

Do While Loop Statement : The statements contained by the do...while loop block executes till the condition given in the while is true. The working of do...loop is elaborate

Steps for Creating A MDI Form: 1. Build a new form and set IsMdiContainer property to true. 2. Build a child form class to add to the form. 3. Now Right click the proj

DEVICE CONTEXT The device context provides the essential drawing tools and the platform to draw. It helps to draw the text, shapes, lines etc. To create the device context, the

Indexing: In libraries, the card catalog is the index. The three indices are used in the library. The Author, Subject and title are the 3 indices. Each index is relative. The

The objective of this unit is to describe the basics of VBScript. After completing this unit, you will be capable to write code for Web pages via VBScript. You will be able to unde

Files in a SDI and MDI Application: Both the SDI and MDI projects have 4 implementation files (.cpp extension). These are the files equivalent to the Document Class, View Clas

Select Case: The Select Case is used for handling the multiple paths. The Select Case computes the expression and depending on the value of the equivalent Case statement execu

need general help in pseudo code

How to Include List Box control in your project A list box is used for representing the users with a data. You can prefer the data from the list box for data entry. No editing