Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Java (https://www.askmehelpdesk.com/forumdisplay.php?f=440)
-   -   Java (Parsing) (https://www.askmehelpdesk.com/showthread.php?t=645675)

  • Mar 24, 2012, 12:17 AM
    Godson21
    Java (Parsing)
    Hey, Thanks in advance, I want to write a Guess the number game as independently as possible but I need to parse and compare a random generated number and an Int Help!
    "Random Ran = new Random();

    System.out.println("A Number Has been Generated");

    System.out.println("Guess what it is... ");

    int a = System.in.read();

    while ( Ran != a)"

  • All times are GMT -7. The time now is 09:13 PM.