Question: Write a function called number _ compare. This function takes in two parameters ( both numbers ) . If the first is greater than the
Write a function called number
compare. This function takes in two parameters
both numbers
If the first is greater than the second, this function returns "First is greater". If the second number is greater than the first, the function returns "Second is greater". Otherwise the function returns "Numbers are equal". Print the results
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
