Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pls help me to solve this problem by C++. thank you! Description 1 N Please design a program that will repeatedly ask users to input
Pls help me to solve this problem by C++. thank you!
Description 1 N Please design a program that will repeatedly ask users to input a set of data, until the first number in the set of data is not positive. The format of a set of data is listed as follows: N dd,... N denotes the number of integers inputted in the set of data, and d, represents the i-th integer When given a set of data, please output the minimum, maximum, mean, and variance (Var) of the inputted integers, where the mean and variance are assumed to be integers, that is, their fractional parts are unconditionally discarded. 1 Var(X) (z - )? . n n 1 = Xi - = n i=1 Example Result: 0948 1 13 6 20 Input: 10 0 1 2 3 4 5 6 7 8 9 5 5 1 3 10 13 0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started