0

Can you make me a ATM Program using Java?

29th Jul 2016, 10:43 AM
JohnEdwardTeope
JohnEdwardTeope - avatar
6 Réponses
0
What does it mean?
29th Jul 2016, 12:31 PM
nil
nil - avatar
0
class program {        public void static main(string[] args) { double accbal=5000.00; double amt=7000.00; if(amt<accbal) {      accbal=accbal-amt;      System.out.println("withdrawal success"); } else {       sop("withdrawal failed");       sop("insufficient balance,try later. . .!"); } }
29th Jul 2016, 12:38 PM
shanta patil
shanta patil - avatar
0
try dis program.
29th Jul 2016, 12:39 PM
shanta patil
shanta patil - avatar
0
class program {        public void static main(string[] args) { double accbal=5000.00; double amt=7000.00; if(amt<accbal) {      accbal=accbal-amt;      System.out.println("withdrawal success"); } else {       sop("withdrawal failed");       sop("insufficient balance,try later. . .!"); }    sop("account balance is"+accbal); } }
29th Jul 2016, 12:40 PM
shanta patil
shanta patil - avatar
0
yes
29th Jul 2016, 3:31 PM
Anantha Padmanabhan B
Anantha Padmanabhan B - avatar
0
ahhm the program contains the following username, pincode, balance $20000, withdraw, deposit, exit. new username. like that. anyway thank you guys for answering my question. sorry for my grammar T.T
29th Jul 2016, 4:08 PM
JohnEdwardTeope
JohnEdwardTeope - avatar