Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SlotMachine {
- private final static int initialAmount =1000;
- public static void main(String[] args) {
- Scanner input = new Scanner (System.in);
- Random random = new Random ();
- System.out.println ("Welcome to Jackpot!. (Please press enter to continue)");
- System.out.println ("-------------------");
- String x = input.next();
- System.out.println ("Here is your initial amount : " +initialAmount);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement