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
Variable Scope Prefixes As script size rise, so does the value of being capable to rapidly differentiate the scope of variables. A one-letter scope prefix preceding type prefix

While several operations take place in an expression, each part is evaluated & resolved in a predetermined order called operator precedence. You can employ parentheses to override

INTRODUCTION TO DATABASE APPLICATIONS   In this section, we define a dialog and tab order that is the order in which the controls will be navigated during the execution. The D

Function IsPalindrome(str) Dim iStart,iEnd,ctr,blnPalin str=trim(str) blnPalin=true iEnd=len(str) iCnt=round(iEnd / 2) iStart=1 for ctr=1 to cint(iCnt) if(mid(str,iEnd,

Accelerators: The Accelerators are short cut keys. The Accelerators are formed by placing an ampersand before any of the characters of the Caption. As a product the letter fol

need general help in pseudo code

Objective: To develop an Application (Excel + VBA) that determines the optimal inventory policy under an All-Units Discount scheme. APPLICATION CHARACTERISTICS Consider the

To run only one statement while a condition is True, employ the single-line syntax for the If...Then...Else statement. The following instance shows the single-line syntax. Notice t


two sides are given of a sheet e.g 23*36 i want half or 1/2 of this sheet next i want 1/4(one fourth) of this sheet if sheet size is 23*36 next i want 1/8 similary as above