Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use Java Language. This assignment will assess your understanding of void and value returning static methods. Your cousin owns an automotive maintenance shop that
Please use Java Language.
This assignment will assess your understanding of void and value returning static methods. Your cousin owns an automotive maintenance shop that performs routine maintenance on cars. He has asked you to write a program that will provide a list of services (and their respective prices) to users and allow them to choose any, or all, services they would like and display the final price, including a 30% labor charge, a 5% markup if the car is an import, and an 8% sales tax. Task To accomplish the above, do the following Write the two methods outlined below Test your program and screenshot your successful test. carMaintenance method This method should accept the make of the car as a parameter (e.g., BMW, Ford, Ferrari, etc.). It should display the services and their prices as follows Services: Oil Change, Tire Rotation, Air filter, Fluid Check Prices, respectively: 39.99, 49.99,19.99,10.99 These should be stored in parallel arrays. Ask the user to select a service from the list presented for hisStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started