Question: 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
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 $800.00 Less than 25 No Yes $700.00 Less than 25 Auto Insurance Then calculate and display a rate for auto insurance using the following rules: Age Married Rate $800.00 Less than 25 No Yes $700.00 Less than 25 No $500.00 Greater than or equal to 25 $450.00 Greater than or Yes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
