import java.util.Rando m;
public class random_game {
public static void main (String args[]) {
int ctr,guess;
Random r = new Random();
System.int.prin tln(r.input.int (100));
int n = r.nextinput(100 );
System.out.prin t("Enter guess number: ");
guess = input.nextInt() ;
guys, what's the problem with this code?i'm new in java programming, pls. help, error says:
<identifier expected>
System.int.prin tln(r.input.int (100));
and not a statement
System.int.prin tln(r.input.int (100));
pls help...thanks so much
public class random_game {
public static void main (String args[]) {
int ctr,guess;
Random r = new Random();
System.int.prin tln(r.input.int (100));
int n = r.nextinput(100 );
System.out.prin t("Enter guess number: ");
guess = input.nextInt() ;
guys, what's the problem with this code?i'm new in java programming, pls. help, error says:
<identifier expected>
System.int.prin tln(r.input.int (100));
and not a statement
System.int.prin tln(r.input.int (100));
pls help...thanks so much
Comment