: i need to do a program like this:
Automatic Teller Machine
[B] Balance
[D] Deposit
[W] Withdrawal
[Q] Quit
select you OPtions:
-------------------------------
once i have chosen an option then i should proceed here
if i choose b:
YOur Balance is ________
if i chose D:
Enter you deposit amount:
___________
if i choose W:
Enter the Withdrawal amount:
________________
(if balance is >= withdrwal display transaction, if balance is < withdrawal display "insufficient Amount"
every after each of the choices a window like this should come out:
Would you Like to generate bank slip?
YES NO
if yes:
for balance:
BALANCE INQUIRY
AMOUNT BALANCE:
____________
Printing bank slip....
for deposit:
DEPOSIT AMOUNT:_____
printing book slip:
for withdrawal:
your withdrwal amount:
______________
=====
if no:
it will return to:
Would you like another transaction?
thats the problem. I dont know how to start this program because i am a beginner, and aside from that i am really eager to learn java please help me with the codes and please explain to me how it works. i only need to use if else statements and do while beacause it is the lesson we are in to, please help m,e