Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

0 2 - Automobile Costs Write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his

02- Automobile Costs
Write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile:
loan payment -insurance -gas -oil -tires -maintenance.
The program should then display the total monthly and annual cost of these expenses.
Your Total Monthly cost of Loan Payment is: $12
Your Total Monthly cost of Insurance is: $12
Your Total Monthly cost of Gas is: $12
Your Total Monthly cost of Oil is: $12.
Your Total Monthly cost of Tires is: $12
Your Total Monthly cost of Maintenance is: $12
===== PLEASE SEE ANNUAL TOTAL BELOW = Your annual cost of Loan Payment is: $144
Your annual cost of Insurance is: $144
Your annual cost of Gas is: $144
Your annual cost of oil is: $144
Your annual cost of Tires is: $144
Your annual cost of Maintenance is: $144
03- Math Tutor
Write a program that can be used as a math tutor for a young student.
The program should display two random numbers that are to be substract, such as:
247
-129
=====
The program should wait for the student to enter the answer. If the answer is correct, a message of congratulations should be printed. If the answer is incorrect, a message should be printed showing the correct answer.
916
-715
201
You entered: 100, Your answer is wrong. Check the board
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions