Bank Account C Program Paper
Description
Problem 1: (Money Available in Bank) Write a C++ program that calculates and displays the amount of money
available in a bank account that initially has $1000 deposited and earns interest at the rate of 3% a year. Your
program should display the amount available at the end of each year for a period of 10 years.
Use the relationship that the money available at the end of each year = the amount of money in the account at
the start of the year + .03 × the amount available at the start of the year.
Problem 2: (Counting Grades) Write a C++ program that continuously requests a grade to be entered. If the grade
is less than 0 or greater than 100, your program should print a message informing the user that an invalid grade
has been entered; else, the grade should be added to a total. When a grade of 999 is entered, the program should
exit the repetition loop and compute and display the average of the valid grades entered.
Problem 3: (Find the second lowest integer number) Write a program that prompts the user to enter a set of
integer numbers, and finally displays the second lowest integer number in the set. To exit from the program,
enter -1.
Here is a sample run
Enter a set of integer numbers: 3 5 7 9 2 8 -1
The second lowest number is 3
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."