GoConqr has a new look! Let us know what you think.

Module 10 of 16 · Media

Return a number's square

Kostas Diakogiannis

Return a number's square

F-5 Return the square of every number.

Write a function that accepts any number and returns it's square value. 

Don't forget to validate always before that the accepted input of the function is always number. If not print an appropriate message to the console to inform the user that this action is not possible and prevent further code from running.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?