"Hi, Amigo! Here are a few tasks for you, my friend:"

undefined
7
Task
New Java Syntax, level 7, lesson 4
Locked
Minimum of two numbers
Write a function that returns the minimum of two numbers. Hint: You need to write the body of the existing min function.
undefined
7
Task
New Java Syntax, level 7, lesson 4
Locked
Minimum of three numbers
Write a function that computes the minimum of three numbers. Hint: You need to write the body of the existing min function.
undefined
7
Task
New Java Syntax, level 7, lesson 4
Locked
Minimum of four numbers
Write a function that computes the minimum of four numbers. The function min(a, b, c, d) should use (call) the function min(a, b) Hint: You need to write the body of the two existing min functions.
undefined
7
Task
New Java Syntax, level 7, lesson 4
Locked
Repetition is the mother of all learning
Implement the print3 method. The method should display the passed string 3 times. Each time, on a new line.
undefined
7
Task
New Java Syntax, level 7, lesson 4
Locked
Print three times
Implement the print3 method. The method should display the passed string (word) three times, but on the same line. Words must be separated by a space and should not merge into one.
undefined
7
Task
New Java Syntax, level 7, lesson 4
Locked
Even to the moon!
Programmers often move from place to place, but only if they want to. That's why they love converters so much. Well, maybe that's not why. Still, we will practice writing them. Now imagine that you have to work at a particular location: the Moon. Let's implement a method that converts your Earth weight to your lunar weight.