This is C++ Programming
Write a program that prompts the user to enter a positive integer. Use a loop to compute the
sum of all integers between 1 and the number entered.
Write a program that computes the rise of ocean levels for the next x years where x is an integer larger than 2 entered by the user. Use #include <iomanip> to properly align the output match the formatting in the example below.
Write a program that simulates a checking account. Initially, the program prompts the user to open an account and deposit an initial balance of at least $20. Afterwards, the program repeatedly shows
a menu with the following options:
3.Viewing the current balance
Split your program using functions. Define the following prototypes and implement them below
// shows menu, prompts for and returns valid option
prompts for amount
to deposit and
adds it to the balance
void deposit(float &balance);
// prompts for amount
void withdraw(float &balance);