Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Lottery;
- /**
- *
- * @author Taly
- */
- import java.util.Scanner;
- public class Lottery {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- String lotteryNum = "", UserGuess = "";
- for (int i = 0; i < 3; ++i)
- lotteryNum = lotteryNum + (int)(Math.random() * 10);
- System.out.println(lotteryNum);
- }
- }
Add Comment
Please, Sign In to add comment