Question: Write a function called min2 that takes two arguments. The second argument should be a default argument with a default value of 0. The function
Write a function called min2 that takes two arguments. The second argument should be a default argument with a default value of 0. The function will return the minimun of the 2 arguments. Prompt the user for two integers. Call the function with the first number typed and no second argument. Print the results. Call the function again with both numbers the user types. Print the results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
