Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Auto Insurance Write a program that prompts the user for his/her age and marital status, Use the following menu for the user to choose marital

image text in transcribed
image text in transcribed
Auto Insurance Write a program that prompts the user for his/her age and marital status, Use the following menu for the user to choose marital status: 1. Married 2. Single Then calculate and display a rate for auto insurance using the following rules: Age Married Rate No $800.00 Less than 25 Yes $700.00 Less than 25 500.00 No Greater than or equal to 25 $450.00 Yes Greater than or equal to 25 Input validation: The user must choose a valid choice from the menu and the user's age must be at least 16 Instructions 1# Put you 2 The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment Write a program that takes the purchase price as input. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items: 1. The month number (beginning with 1) 2. The current total balance owed 3. The interest owed for that month 4. The amount of principal owed for that month 5. The payment for that month 6. The balance remaining after payment The amount of interest for a month is equal to balance x rate /12 The amount of principal for a month is equal to the monthly payment minus the interest owed. An example of the program input and output is shown below

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

Why steam is superheated ?

Answered: 1 week ago

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

d. How were you expected to contribute to family life?

Answered: 1 week ago

Question

e. What do you know about your ethnic background?

Answered: 1 week ago