81.0k views
5 votes
Write a function max arguments. write a program that reads three floating-point numbers, uses the max function, and displays the larger of the first two inputs. the larger of the last two inputs. the largest of all three inputs.

User Krysia
by
7.8k points

1 Answer

5 votes

I've written the solution in Python. The first image is the code, and the second image is an example of me running it :)

Write a function max arguments. write a program that reads three floating-point numbers-example-1
Write a function max arguments. write a program that reads three floating-point numbers-example-2
User Dli
by
8.0k points