Help
Feb 5th, 2001, 11:36 PM
Hello ...
Okay I am trying to do a simple function.
That is just getting the users imput from what they type and store it into a variable.
I dont know how to do this in Java but this is what I want.
printf("Enter in your age: ");
scanf("%d",&age);
}
How to do this in java?
int age=0;
System.out.println("Enter in your age: ");
Sytem.in???????????
Thanks for the help :)
Okay I am trying to do a simple function.
That is just getting the users imput from what they type and store it into a variable.
I dont know how to do this in Java but this is what I want.
printf("Enter in your age: ");
scanf("%d",&age);
}
How to do this in java?
int age=0;
System.out.println("Enter in your age: ");
Sytem.in???????????
Thanks for the help :)