c++ language
used in this format:
void menu();
bool withdraw(float&, const float);
bool deposit(float&,const float);
void checkBalance(float);
int main()
{
//initialize the variables
while (true)
{
menu();
//Please enter the menu numberof the option you would like to perform
switch (choice)
{
case(1):
// callcheckBalance();
case(2):
char op;
cout << “Would you like to deposit $10 by default or a custom amount , TypeY for Default or N for custom? ” << endl ;
cin >>op;
if (op ==’Y’)
{
amount = 10;
deposit(balance,
OR
OR