0
Can you make me a ATM Program using Java?
6 Answers
0
What does it mean? 
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. . .!");
}
}
0
try dis program. 
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);
}
}
0
yes
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



