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
You are asked to create the LOTO game customized according to the following constraints: 1. Create a grid containing 20 numbers (20 buttons: button1, button2, …button20) 2. When t

In VBScript, the While...Wend statement is provided for those who are familiar along its usage. However, due to the lack of flexibility in While...Wend, it is suggested that you us

If Then Else: The control statement If Then Else is used for computing a condition and taking the action based on the condition. If the condition is true then the section will

Adding Events in VB   For adding the events in VB, first double click on the command button with the caption hello. The Private Sub command1_Click () and End Sub would be

WINDOWS 32 BIT (WIN 32) APPLICATIONS   The Win 32 based applications are the applications developed for the windows family of the operating systems. The Win 32 applications ac

Graphics Device Interface - GDI:   The GDI is a windows API. The GDI uses a set of generic graphics objects to draw to the screen, to the memory and printers. Therefore the p

A constant is a meaningful name which takes the place of a number or string and never alters. VBScript described a number of intrinsic constants. You can get thorough information r

Dialog Based Application: (A) Dialog Based Application to demonstrate Animate Control: 1. Build a dialog based application. 2. Design the dialog as shown. 3. Place

Adding Records: 1. As in the earlier case Set the DatabaseName property as "C:\ex.mdb", now Set the Record Source for the data control as Customer and Set the Record Type to 0

need help with logic part of loan program