Write a top-down design and an ada program with procedures


Problem

Write a top-down design and an Ada program with procedures that will help you balance your checking account. The program should let you enter the initial balance for the month, followed by a series of transactions. For each transaction entered, the program should echo print the transaction data, the current balance for the account, and the total service charges. Service charges are $0.10 for a deposit and $0.15 for a check. If the balance drops below $500.00 at any point during the month, a service charge of $5.00 will be assessed for the month. If the balance drops below $50.00, the program should print a warning message. If the balance becomes negative, an additional service charge of $10.00 should be assessed for each check until the balance becomes positive again. A transaction will take the form of a letter, followed by a blank and a real number. There may be any number of spaces before and after the letter. If the letter is a C or a c, then the number is the amount of a check. If the letter is a D or a d, then the number is the amount of a deposit. The last transaction will consist of the letter E or an e.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a top-down design and an ada program with procedures
Reference No:- TGS02651118

Expected delivery within 24 Hours