int fSelectMenu ();
//this function will display the main menu options
//and will return a value of the selected transaction
void fDeposit(double&);
//this function will simulate deposit transaction
//this function will update the balance once a successful
//deposit transaction occured.
//this function should not allow deposit if amount to deposit is less than 100.00
void fWithdraw(double&);
//this function will simulate withdraw transaction
//balance should be updated once a succes withdraw transaction occured.
//this function should not allow withdrawal if amount to withdraw is less than 200.00
//and remaining balance will be less than 500.00
void fBalanceInquiry (double);
//this function should display the remaining balance
void fQuit( )
//this function will terminate the program using the exit pre-defined object
char fTryAgain();
//this function will ask the user if he wants to do another transaction
//this function should return a char type based on selection made by the user
void main()
{
double balance=10000.00;
char ch;
int select;
cout.setf(ios::fixed);
cout.setf(ios::showpoint);
cout.precision(2);
do
{
select = fSelectMenu ();
switch (select)
{
case 1:
fDeposit (balance);
break;
case 2:
fWithdraw (balance);
break;
case 3:
fBalanceInquiry(balance);
break;
case 4:
fQuit();
default:
cerr<<"Invalid selection\n";
}
cout<<"Your remaining Balance: "
<<balance<<endl<<endl;
Note: you are only required to write the function definition. Thus, you are not allowed to make any modifications in the main function and on the function prototypes.