Question: I would like some help with the excercise here. would like some explanation along the way if possible using C++ QUESTION 1 SpeedTyre provides tyre
I would like some help with the excercise here. would like some explanation along the way if possible
using C++


QUESTION 1 SpeedTyre provides tyre related services to the customer. In order to improve their business, a program to manage customer requirement service needs to be developed. The following tables show the services and types of tyres available in the company. Service Code Service Description Workmanship Price (RM) TC Tyre Change 40.00 AL Alignment 30.00 BL Balancing 35.00 Tyre Brand Code Tyre Brand Description Tyre Size (Inch) 15 16 Price (RM) 270.00 B Bridgestone 290.00 15 M Michelin 320.00 345.00 16 The program should allow a user to input customer name and vehicle plate number. Then, user can input the service code. For user who wants to change tyre, he or she can choose the tyre brand and size. The user also needs to specify whether to change only two or four tyres. For other type of services, the price is stated in the service table. Display an error message for an invalid service code. Finally, display the details of the service required by the customer in a single receipt (including of customer name, vehicle plate number, service description and total price). Write a complete C++ program that will be repeated until the user enters 'N' to stop. On the next page shows the sample input and output for the program. (Note: Input data from user shown in BOLD and UNDERLINE) Welcome to SpeedTyre Service + + + + + Service Offer: TC Tyre change AL Alignment BL Balancing For tyre change we provide two types of brand which are: B - Bridgestone M - Michelin Enter customer name: Ili Natasha Enter vehicle plate no: WBL 8788 Enter Service Code: TC Enter tyre brand: B Enter tyre size: 16 Enter either 2 or 4 tyre only to change: 2 ++++ +++++SPEEDTYRE SERVICE RECEIPT+ Customer Name: Ili Natasha Vehicle plate no: WBL 8788 Service Description: Tyre Change Total : RM620 ++ Do you want to make another service? (Y/N): Y Enter service code: AL +++ ++++++SPEEDTYRE SERVICE RECEIPT Customer Name: Ili Natasha Vehicle plate no: WBL 8788 Service Description: Alignment Total : RM650 ++ Do you want to make another service? (Y/N)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
