Question: write in C++ program Question 2: Write a C++ Program [7.5 marks] A bank wants a program that determines the yearly interest earned on a
Question 2: Write a C++ Program [7.5 marks] A bank wants a program that determines the yearly interest earned on a guaranteed investment certificate (GIC), given a number of years. If the investment is for five years, the interest is 8.2% per year; if it is for one year, the interest is 5%. Print on the screen "Invalid data. Please try again later.", if the user enters any value other than 1 or 5 for the number of years of investment. Write a complete C program to determine the amount of interest earned per year Hint: Interest = amount * percentage
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
