#include <iostream>
using namespace std;
int main()
{
//Declaring variables
double initial_bal,extra_charge=0.0,service_fee;
int no_of_checks;
//Declaring constant
const double BASIC_FEE=10;
/* This loop continues to execute
* until the user enters a valid balance
*/
while(true)
{
//getting the begining balance
entered by the user
cout<<"Enter the Beginning balance :$";
cin>>initial_bal;
//if the balance is less than zero display error
message
if(initial_bal<0)
{
cout<<"**Account is Over
Drawn **"<<endl;
continue;
}
else
break;
}
//this loop continues to execute until the user enters
positive value
while(true)
{
//getting the no of checks written
from the user
cout<<"Enter no of checks written :";
cin>>no_of_checks;
//if the no of checks wruitten is positive display
error message
if(no_of_checks<0)
{
cout<<"** Invalid.Must be a
positive number **"<<endl;
continue;
}
else
break;
}
/* if the begin balance is less than 400
* we have to apply extra charges
*/
if(initial_bal<400)
{
extra_charge=15.00;
}
else
{
//based on the no of checks
calculate the service fee
if(no_of_checks<20)
{
service_fee=no_of_checks*0.10;
}
else if(no_of_checks>=20
&& no_of_checks<39)
{
service_fee=no_of_checks*0.08;
}
else if(no_of_checks>=40
&& no_of_checks<59)
{
service_fee=no_of_checks*0.06;
}
else if(no_of_checks>=60)
{
service_fee=no_of_checks*0.04;
}
}
//Displaying the total service for the month
cout<<"Bank's Service fee for the month is
:$"<<extra_charge+BASIC_FEE+service_fee<<endl;
return 0;
}
________________________
output:

__________Thank You
C++ A bank charges $10 per month plus the following check fees for a commercial checking...
Java Bank program A bank charges a base fee of $10 per month, plus the following check fees for a commercial checking account: $.10 each for less than 20 checks $.08 each for 20–39 checks $.06 each for 40–59 checks $.04 each for 60 or more checks Write a program that asks for the number of checks written for the month. The program should then calculate and display the bank’s service fees for the month.
Python Question A bank charges a base fee of $10 per month plus the following check fees for a commercial checking account: $.10 each for less than 20 checks $.08 each for 20 to 29 checks $.06 each for 40 to 59 checks $.04 each for 60 or more checks Write a program that asks for the number of checks per month (integer) and displays the fee for the month.
Must be written in C++ Bank Charges A bank charges $15 per month plus the following check fees for a commercial checking account: $0.10 per check each for fewer than 20 checks (1-19) $0.08 each for 20–39 checks $0.06 each for 40–59 checks $0.04 each for 60 or more checks Write a program that asks for the number of checks written during the past month, then computes and displays the bank’s fees for the month. Input Validation: Display an error...
Using Python write a code for Function 1: A bank charges $10 per month plus the following check fees for a commercial checking account: a. $0.10 each for 1-19 checks b. $0.08 each for 20-39 checks c. $0.06 each for 40-59 checks d. $0.04 each for 60 or more checks. (Note that the same fee is charged for all checks. If the customer writes 21 checks, all 21 checks are billed at the $0.08 rate.) The bank also charges an...
Must be written in C++ Bank Charges A bank charges $15 per month plus the following check fees for a commercial checking account: $0.10 per check each for fewer than 20 checks (1-19) $0.08 each for 20–39 checks $0.06 each for 40–59 checks $0.04 each for 60 or more checks Write a program that asks for the number of checks written during the past month, then computes and displays the bank’s fees for the month. Input Validation: Display an error...
The Fitzgerald Company maintains a checking account at the Bank of the North. The bank provides a bank statement along with canceled checks on the last day of each month. The October 31, 2016, bank statement included the following information: Balance, October 1, 2016 $ 32,740 Deposits 88,500 Checks processed (77,700) Service charges (400) NSF checks (1,650) Monthly loan payment deducted directly by bank from account (includes $450 in interest) (3,950) Balance, October 31, 2016 $ 37,540 The company’s general...
El Gato Painting Company maintains a checking account at American Bank. Bank statements are prepared at the end of each month. The November 30, 2021, reconciliation of the bank balance is as follows: $3,241 1,210 Balance per bank, November 30 Add: Deposits outstanding Less: Checks outstanding #363 #365 #380 #381 #382 Adjusted balance per bank, November 30 $ 124 202 57 87 350 (820) $3,631 The company's general ledger checking account showed the following for December: Balance, December 1 Receipts...
El Gato Painting Company maintains a checking account at American Bank, Bank statements are prepared at the end of each month. The November 30, 2021, reconciliation of the bank balance is as follows: $3,231 1,200 Balance per bank, November 30 Add: Deposits outstanding Less: Checks outstanding #363 #365 #380 #381 #382 Adjusted balance per bank, November 30 $123 201 56 86 340 (806) $3,625 The company's general ledger checking account showed the following for December: Balance, December 1 Receipts Disbursements...
El Gato Painting Company maintains a checking account at American Bank. Bank statements are prepared at the end of each month. The November 30, 2021, reconciliation of the bank balance is as follows: $3,331 1,300 Balance per bank, November 30 Add: Deposits outstanding Less: Checks outstanding #363 #365 #380 #381 #382 Adjusted balance per bank, November 30 $ 133 211 96 440 (946) $3,685 The company's general ledger checking account showed the following for December: Balance, December 1 Receipts Disbursements...
El Gato Painting Company maintains a checking account at American Bank. Bank statements are prepared at the end of each month. The November 30, 2016, reconciliation of the bank balance is as follows: Balance per bank, November 30 $3,231 Add: Deposits outstanding 1,200 Less: Checks outstanding #363 $123 #365 201 #380 56 #381 86 #382 340 (806) Adjusted balance per bank, November 30 $3,625 The company's general ledger checking account showed the following for December: Balance, December 1 $ 3,625...