Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

If a bank customer account falls below the minimum balance, there is service cha

ID: 3621203 • Letter: I

Question

If a bank customer account falls below the minimum balance, there is service charge of $10.00 for savings accounts and $25.00 for checking accounts. The account received interest as follows:
a) Savings accounts receive 4% interest
b) Checking accounts with balances of up to $5,000.00 more than the minimum balance receive 3% interest; otherwise, the interest is 5%.
Write a program that reads each customer’s account number (string type), account type (char: s for saving and c for checking), minimum balance, and current balance from an input file named “c:\input.txt”.
The program should save the current balance as the beginning balance, calculate the interest and calculate the service fee.
(Account numbers store in the notepad document created: input.txt)
The program should output the following: for each customer account number.
account number account type, beginning balance interest added service fee ending balance A6728 s $2700.00 $108.00 $0.00 $2808.00 A7324 c $7689.00 $384.45 $0.00 $8073.00
and so on……….
I really need to finish this project ASAP (is due Saturday) I’m done but I need a guide to make it run. Im using DEV C++
Thank You!!!

Explanation / Answer

#include using namespace std; int main() { int accountNumber; double currentBalance, minimumBalance, charges = 0; char accountType; cout accountType; cout > minimumBalance; cout > currentBalance; switch(accountType) { case 's' : if ( currentBalance =minimumBalance) charges =currentBalance*0.04; break; case 'c' : if ( currentBalance
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote