Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. System.out.println("Do you want to Credit or To Withdrow");
  2. String chose;
  3. chose = input.next();
  4. if (chose == "credit")
  5. {
  6. System.out.print("Enter the amount to deposit");
  7. double credit = input.nextDouble();
  8. transactionclass.SetCredit(credit);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement