Create AYCLOGIC Car Dealer program which will do the following
- Print “Welcome to AYCLOGIC Car Dealer”
- Ask the user “How much money do you have? “
- If the user answers anything below 0 or less, print “Please come back when you have some money.”
- If the user answers 20 or below, print “Hmm… you can buy this car toy.”
- If the user answers below 100 or below, print “You can buy this Remote Control toy car.”
- If the user answers below 1000, print “I have this 1990 Honda Civic, would you like to test drive?”.
- If the user answers below 10000, print “I have this 2004 BMW 3 series. Really cool car.”
- If the user answers below or equals to 20000, print the following menu and get a second input from the user
Your program should look like this
When the user enter 0 or less
Welcome to AYCLOGIC Car Dealer
How much money do you have: 0
Please come back when you have some money.
When the user enters 1 to 20
Welcome to AYCLOGIC Car Dealer
How much money do you have: 10
Hmm… you can buy this car toy.
When the user enters 21 to 100
Welcome to AYCLOGIC Car Dealer
How much money do you have: 50
You can buy this Remote Control toy car.
When the user enters 101 to 1000
Welcome to AYCLOGIC Car Dealer
How much money do you have: 1000
I have this 1990 Honda Civic, would you like to test drive?
When the user enters 1001 to 10000
Welcome to AYCLOGIC Car Dealer
How much money do you have: 5000
I have this 2004 BMW 3 series. Really cool car.
When the user enters 10001 to 20000
Welcome to AYCLOGIC Car Dealer How much money do you have: 15000 You can buy 1. A brand new 2021 Toyota Corolla 2. A used 2015 Mercedes Benz? Please enter your selection: 1 Good choice, you like a brand new car huh!! Welcome to AYCLOGIC Car Dealer How much money do you have: 19000 You can buy A brand new 2021 Toyota Corolla A used 2015 Mercedes Benz? Please enter your selection: 2 Great choice, German car is very safe
When the user enters bigger than 20000
Welcome to AYCLOGIC Car Dealer
How much money do you have: 40000
WOW You are loaded, you can buy any car in this lot.