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

22nd Nov 2023, 7:01 AM
Phillipow William
Phillipow William - avatar
2 Respuestas
+ 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.
22nd Nov 2023, 8:24 AM
Tibor Santa
Tibor Santa - avatar
+ 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.
22nd Nov 2023, 9:34 AM
Wong Hei Ming
Wong Hei Ming - avatar