Question: Write a complete Python program inciuding minimal comments (file name. your name, and problem deschpubnj a goves tAe problem with the main function Problem Specification:
Write a complete Python program inciuding minimal comments (file name. your name, and problem deschpubnj a goves tAe problem with the main function Problem Specification: Write a program described below 1. Write the definition of a function maximum that has three parameters and returns the largest 2. Write the definition of a function minimum that has three parameters and returns the smallest 3. write the definition of a function average3 that has three parameters and returns the average of the three values. 4. In main function, read three integer values which can be positive or negative, store them into variables. 5. Call all three functions and print the results with appropriate messages 6. Use the format function to show the average in 1 decimal place for the fractional part SAMPLE RUN #1: Enter an integer value: 3 Enter an integer value: 4 Enter an integer value: 1 maximum of 3 41is 4 minimum of 3 41 is 1 average of 3 4 1 is 2.7 SAMPLE RN #2: Enter an integer value: 5 Enter an integer value: o Enter an integer value: -6 maximum of 5 0 -6 is 5 minimum of 50-61s-6 average of 5 0-6 is -0.3 SAMPLE RUN #3: Enter an integer value: 1 Enter an integer value: 2 Enter an integer value: 3 maximum of 1 23 is 3 minimum of 1 2 3 is 1 average of 1 23 is 2.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
