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

Default values for gdi objects, Default Values for GDI Objects: The de...

Default Values for GDI Objects: The default color for the brush is white, pen is black, and default bitmap is null and the default font is system.

Balancesheet, i need sample balance sheet form in vb.net

i need sample balance sheet form in vb.net

#simple interest using pseudocode and flowcharts, simple interest using flo...

simple interest using flowchart and psuedocode using the formular s= x + nrx

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

Precompiled header file, THE PRECOMPILED HEADER FILE As soon as you gen...

THE PRECOMPILED HEADER FILE As soon as you generate a blank project, ahead of doing any coding you compile the project to generate .pch (that is the pre compiled header) file a

Dictionary object in vbscript, The Dictionary object stores data as key, it...

The Dictionary object stores data as key, item pairs. A Dictionary object is the corresponding of a PERL associative array. Items, that can be any form of data, are stored in the a

Loop statement from inside the loop, You can exit a Do...Loop using the Exi...

You can exit a Do...Loop using the Exit Do statement. Since usually you desire to exit only in certain situations, such as to ignore an endless loop, you should employ the Exit Do

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

Variable scope, Variables must always be described with the smallest scope ...

Variables must always be described with the smallest scope possible. VBScript variables can have the given scope. Scope Where Variable is Declared

Input box - dialogue box in visual basic , Input Box: To demonstrate t...

Input Box: To demonstrate the use of the Input Box as shown in figure. Now consider the illustration shown below: 1. Initiate a new project 2. Select the standard exe

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