Write a Python Program that reads 4 numbers from the keyboard and finds the mean and standard deviation of those numbers. The results should be displayed on the screen. You have to use three functions input (), statistics() and display(). input() is called by main() to read user data. statistics() is called by main(() to calculate mean and standard deviation of the 4 numbers. display () function is called by main() to display the results (i.e. 4 numbers, their mean and standard deviation) calculated by statistics().

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 8PP: (Statistical) In many statistical analysis programs, data values considerably outside the range of...
icon
Related questions
icon
Concept explainers
Question
Exercise 2:
Write a Python Program that reads 4 numbers from the keyboard and finds the mean and standard deviation of
those numbers. The results should be displayed on the screen.
You have to use three functions input (), statistics() and display().
input() is called by main() to read user data.
statistics() is called by main(() to calculate mean and standard deviation of the 4 numbers.
display () function is called by main() to display the results (i.e. 4 numbers, their mean and standard
deviation) calculated by statistics().
Transcribed Image Text:Exercise 2: Write a Python Program that reads 4 numbers from the keyboard and finds the mean and standard deviation of those numbers. The results should be displayed on the screen. You have to use three functions input (), statistics() and display(). input() is called by main() to read user data. statistics() is called by main(() to calculate mean and standard deviation of the 4 numbers. display () function is called by main() to display the results (i.e. 4 numbers, their mean and standard deviation) calculated by statistics().
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage