Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. public class SlotMachine {
  2.             private final static int initialAmount =1000;
  3.     public static void main(String[] args) {
  4.         Scanner input = new Scanner (System.in);
  5.         Random random = new Random ();
  6.         System.out.println ("Welcome to Jackpot!. (Please press enter to continue)");
  7.         System.out.println ("-------------------");
  8.         String x = input.next();
  9.         System.out.println ("Here is your initial amount : " +initialAmount);
  10.        
  11.        
  12.  
  13.     }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement