Question: Please answer the following questions. Question 1 ( 1 0 points ) A bank offered different interest rates for its customers. The rate depends on

Please answer the following questions. Question 1(10 points) A bank offered different interest rates for its customers. The rate depends on the amount deposited as seen in the table: Deposited amount in dollars Interest rate / year 5000 or above 5%4000-49994%300039993%200029992%1000-19991% Write a complete C code to: 1- Display the information in the table to the user. 2- Ask the user to enter the amount to deposit. 3- Calculate and display the amount of money the user will profit (interest rate) after one year. 4- Calculate and display the total amount of money the user will have after 1 year (deposited money + interest).5- If the user enters a value that is less than 1000 then your code should inform the user to increase the deposit to at least 1000 dollars. For example, if the user enters 800 then your code should tell the user that if they can increase the amount by 200 dollars then they will get 1%. Note: Check the validity of the input from the user which should be a positive number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!