Programming Assignment: Car Repair For this programming assignment, create a car repair program that prompts the user to enter information about a customer, the customer's vehicle, and the work performed on the customer's vehicle. Your program should then display the final car repair bill on the computer screen. Your program should accomplish the following: 1. Prompt the user to enter the following information: a. Information about the customer (name, street address, city, state, zip code, phone number). b. Information about the customer's vehicle (make, model, year). c. Information about the work performed (brief description, labor hours needed, cost of parts). 2. Use a labor cost amount of $100.00 per hour and a sales tax rate of 7.0%. 3. Calculate the following: Variable subtotal sales tax total repair bill amount Formula subtotal = labor cost per hour * number of labor hours sales tax = sales tax rate * subtotal total repair bill amount = subtotal + sales tax 4. A screen shot of a sample run for this program is shown below. Design your program so it looks exactly like the one shown in the screenshot. Use two fixed-point decimal places for all numeric output (cout << setprecision(2) << fixed). Use left and right stream manipulators to align all string and numeric output exactlv as it is shown in the screen shot.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question
Programming Assignment: Car Repair
For this programming assignment, create a car repair program that prompts the user to enter
information about a customer, the customer's vehicle, and the work performed on the customer's
vehicle. Your program should then display the final car repair bill on the computer screen.
Your program should accomplish the following:
1. Prompt the user to enter the following information:
a. Information about the customer (name, street address, city, state, zip code, phone
number).
b. Information about the customer's vehicle (make, model, year).
c. Information about the work performed (brief description, labor hours needed, cost of
parts).
2. Use a labor cost amount of $100.00 per hour and a sales tax rate of 7.0%.
3. Calculate the following:
Variable
subtotal
sales tax
total repair bill amount
Formula
subtotal = labor cost per hour * number of labor hours
sales tax = sales tax rate * subtotal
total repair bill amount = subtotal + sales tax
4. A screen shot of a sample run for this program is shown below. Design your program so it looks
exactly like the one shown in the screenshot. Use two fixed-point decimal places for all numeric
output (cout << setprecision(2) << fixed). Use left and right stream manipulators to align all
string and numeric output exactlv as it is shown in the screen shot.
Transcribed Image Text:Programming Assignment: Car Repair For this programming assignment, create a car repair program that prompts the user to enter information about a customer, the customer's vehicle, and the work performed on the customer's vehicle. Your program should then display the final car repair bill on the computer screen. Your program should accomplish the following: 1. Prompt the user to enter the following information: a. Information about the customer (name, street address, city, state, zip code, phone number). b. Information about the customer's vehicle (make, model, year). c. Information about the work performed (brief description, labor hours needed, cost of parts). 2. Use a labor cost amount of $100.00 per hour and a sales tax rate of 7.0%. 3. Calculate the following: Variable subtotal sales tax total repair bill amount Formula subtotal = labor cost per hour * number of labor hours sales tax = sales tax rate * subtotal total repair bill amount = subtotal + sales tax 4. A screen shot of a sample run for this program is shown below. Design your program so it looks exactly like the one shown in the screenshot. Use two fixed-point decimal places for all numeric output (cout << setprecision(2) << fixed). Use left and right stream manipulators to align all string and numeric output exactlv as it is shown in the screen shot.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage