1.
Please add the correct prototype for the
square()
function to the program below:
When your program performs correctly you’ll be given a keyword to enter in Canvas.
main()
function! We don’t tend to think of main()
as a function but it is indeed one.
If you cannot see this codecast, please click here.
square()
function to the program below:
divide()
that takes two floats as arguments and returns a float, namely the first number divided by the second. Obviously, you shouldn’t be dividing by zero...