Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println("Do you want to Credit or To Withdrow");
- String chose;
- chose = input.next();
- if (chose == "credit")
- {
- System.out.print("Enter the amount to deposit");
- double credit = input.nextDouble();
- transactionclass.SetCredit(credit);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement