0
Write a java that accept name and age or birth year from a user, if user input is age the display the birth year to the user and
Please guys help me to write it
2 Réponses
+ 1
public static void main(String[] args)
There you go, one line is done!
You should think about the solution yourself, and give it a try.
Please post your code attempt, and explain which part of the task gives you trouble.
Then we can advise better, how to overcome your hurdles.
+ 1
In your code bits there is a Java code almost working.
You should start the Java course to learn more.
If you don't have any Java experience and still able to write that code, you should be able to find the answer yourself.