How to make a conditional code for age from 18 to 65 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a conditional code for age from 18 to 65

age 18 to 65 is allowed to log in else are not allowed (in Scanner) Java

9th Sep 2020, 9:38 AM
Ziyad Aldoumany
Ziyad Aldoumany - avatar
1 Answer
+ 5
Think from these two concepts and code it yourself ;) About Scanner: https://www.sololearn.com/learn/Java/2220/ About age condition: https://www.sololearn.com/learn/Java/2144/
9th Sep 2020, 9:42 AM
你知道規則,我也是
你知道規則,我也是 - avatar