We introduced you to a few common built-in methods, but there are many more out there! Now’s a good time to practice your documentation search skills. Take a moment to look up the following built-in methods to understand their usage:

  • Math.Pow()
  • Math.Max()
  • Math.Ceiling()

(If you’re having trouble locating what you need, we recommend the Microsoft .NET API documentation).



In this exercise, you’ll need to use the documentation linked above.

Inside of the first Console.WriteLine() command, raise numberOne to the numberTwo power.


Inside of the second Console.WriteLine() command, round numberOne up.


Inside of the third Console.WriteLine() command, find the larger number between numberOne and numberTwo.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?