Connecting Tech Pros Worldwide Forums | Help | Site Map

algorithm help Due today.

Newbie
 
Join Date: Oct 2006
Posts: 2
#1: Oct 23 '06
Ok I know this is probably really simple. These are the instructions I have for this. Please help as soon as possible.

Write an algorithm that will prompt and get a beginning balance for month, a total withdrawal for month and a total deposit for the month. Calculate the final end-of-month balance by subtracting the total withdrawals from the beginning balance, subtracting the federal tax (1% of total transactions) and adding the total deposits. Display final balance.



Newbie
 
Join Date: Oct 2006
Posts: 2
#2: Oct 23 '06

re: algorithm help Due today.


I forgot to add the rest of it.

Name: Maxwell McIntyre

Write an algorithm that will prompt and get a beginning balance for month, a total withdrawal for month and a total deposit for the month. Calculate the final end-of-month balance by subtracting the total withdrawals from the beginning

2. Solution Algorithm

Balance














END
3. Desk Checking


i) Test Data
Variable Names 1st 2nd Variable Names 1st 2nd
begBalance
monWithdrawal
monDeposit
finalBalance
ii) Expected Result 1st 2nd Variable Names 1st 2nd


iii) Algorithm Processing


Prompt Get Calculate Display


iv) Conclusion: Expected Result ______ Calculated Output
Reply


Similar Java bytes