Challenge: Print the Square of a Positive Number
Write a function that prints the square of a positive number if the input is correct; otherwise, display a relevant error message.
We'll cover the following...
Write code inside a function that receives a positive number as input and prints its square. If a negative number is entered, then ...