Java: Test your Skills: Math Task 3