Question: Define a function findMax ( num 1 , num 2 ) that takes two integer numbers as input arguments and prints the larger number. If

Define a function findMax(num1, num2) that takes two integer numbers as input arguments and prints the larger number. If both numbers are equal, print "Both numbers are equal".
Note: This function does not return anything.
Sample output-1:
Enter the first number: 7
Enter the second number: 3
The larger number is 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!