Write a program that takes as input three numbers and outputs the mean (average) and standard deviation of the numbers. If the numbers are x1, x2, and x3, then the mean(average) is x=(x1+x2+x3)/3
1
Expert's answer
2014-07-07T15:38:33-0400
#include <iostream> int main() { int a, b, c; std::cout << "Enter 3 digits" << std::endl; std::cin >> a >> b >> c; std::cout << "Average is " << (a + b + c) / 3 << std::endl; return 0; }
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment