- 4
Write a Java program that displays your name, age, and state of origin
Please help me, it's an assignment
3 Antworten
+ 1
The best way to do this is to use classes,
I made a quick example but it's not worth using it if you dont understand it you can learn all this in java tutorials.
https://code.sololearn.com/c5Jud6aF749K/?ref=app
0
Thanks mahn
- 1
easy
create 3 variables
string name, origin;
int age;
//get input for all the three variables
//then print them
btw im not a java person so i dont know how to get input or print stuff