StupidGuesser
Code
import java.util.Random;
import java.util.Scanner;
public class StupidGuesser
{
public static void main ( String[] args )
{
Scanner keyboard = new Scanner(System.in);
int num;
System.out.println( "pick number from 1-10" );
num = keyboard.nextInt();
Random r = new Random();
int choice = 1 + r.nextInt(10);
String response = "";
if ( choice == num )
{
System.out.println( " wait what you actual got it " );
}
else
{
System.out.println( " nope it was actually " + choice );
}
}
}
StupidGuesser