Program for computing automobile repair bills, Visual Basic Programming

Assignment Help:

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).


Related Discussions:- Program for computing automobile repair bills

Functions, write a v.net function called is vowel that returns true for vow...

write a v.net function called is vowel that returns true for vowel letters

Coding, Write an event procedure to automate the billing system of a superm...

Write an event procedure to automate the billing system of a supermarket. Give the details of database tables, forms, controls and menu design (if any). Make assumptions, wherever

Message loop, MESSAGE LOOP   The message loop is the code in the Win 3...

MESSAGE LOOP   The message loop is the code in the Win 32 based application. It retrieves messages from the application's message queue and passes these to the related window

Indexing - visual basic, Indexing: In libraries, the card catalog is t...

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

Dialog boxes in vb, DIALOG BOXES IN VB The two dialog boxes, namely, th...

DIALOG BOXES IN VB The two dialog boxes, namely, the message box and the input box are usually used in the Visual Basic. The message box is used for displaying the messages to

Running statements if a condition is true, To run only one statement while ...

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

Objective of vb script, The objective of this unit is to describe the basic...

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

Variable scope prefixes, Variable Scope Prefixes As script size rise, s...

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

Multiple Forms Issue, i want to use two forms in vb.net. when the progress ...

i want to use two forms in vb.net. when the progress bar in form1 reaches on a specific value then disable form1 and progress bar will stop and the second Form2 will popup which wi

Student record management system, i need your help in designing and coding ...

i need your help in designing and coding a student record management system

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd