113k views
3 votes
Write a function called max that returns the maximum of the two numbers passed in as parameters

Write a function called max that returns the maximum of the two numbers passed in-example-1

1 Answer

7 votes

Answer:

Create a new function named max() which accepts two numbers as arguments. The function should return the larger of the two numbers. sorry if wrong Step-by-step explanation:

User Danny Kim
by
8.2k points