(Solved):A bank maintains its account records in a sequential text file named accounts.txt. The record for each account contains the following: account number, account holder’s name, street address, city, s… View Answer…

 

Question

A bank maintains its account records in a sequential text file named accounts.txt. The record for each account contains the following: account number, account holder’s name, street address, city, state, zip, account type, and current balance.

Design the logic, in pseudocode, for a program that

a. Reads each record in the accounts.txt file

b. Calculates interest for the account based on the following rules:

    i. If the account type is “checking” and

Scroll to top