Answered step by step
Verified Expert Solution
Question
1 Approved Answer
this is java (data structure like linkedlist, stack, queue) help me, I will upvote you, Thank you! QUESTION 1 (IMPLEMENTING LINKEDLIST, STACK, QUEUE)|| Write a
this is java (data structure like linkedlist, stack, queue)
help me, I will upvote you, Thank you!
QUESTION 1 (IMPLEMENTING LINKEDLIST, STACK, QUEUE)|| Write a system to store various types of cars for Geely Car Company. The number of inputs is entered by user. If the type of the car is classic, store the car data like car name, car price, car year manufactured into a queue named classicqueue. Otherwise, store all that car data into a queue named modernQueue. Calculate the total price of car according to those paid with cash and those paid using loan. Determine whether the customer prefers to pay by cash or using loan based on payment mode. If using cash, customer get 5% discount, else they will pay full. Then move all classic car with price more than $200000 to a stack named exclusiveStack. Sample Output Geely Car Company Monthly Report Name Car CarType YearManf Quantity John Jaguar classic 1961 1 Price Discount Total Payment 250000 5% 237500 Cash Total 237500Step 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