"Hi, Amigo. You're doing great. Here is a new exercise for you: write a program that accepts some data from the keyboard and displays text that uses that data:"
3
Task
New Java Syntax,
level 3,
lesson 8
Locked
Minimum of two numbers
Use the keyboard to enter two integers, and display the minimum. If the two numbers are equal, display either of them.
3
Task
New Java Syntax,
level 3,
lesson 8
Locked
18+
Use the keyboard to enter the name and age. If the age is less than 18, display "Grow up a little more".
3
Task
New Java Syntax,
level 3,
lesson 8
Locked
Bouncer policy
Use the keyboard to enter the name and age. If the age is more than 20, display "18 is old enough".
3
Task
New Java Syntax,
level 3,
lesson 8
Locked
Quadrants
Use the keyboard to enter two integers representing the coordinates of a point not on the X and Y axes.
Display the number of the quadrant that contains the given point.
Hint:
Point (a, b) belongs to a quadrant if the following conditions are true:
for the first quadrant: a>0 and b>0;
for the
GO TO FULL VERSION