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>intmain() { int a, b, c; std::cout << "Enter 3 digits" << std::endl; std::cin >> a >> b >> c; std::cout << "Averageis " << (a + b + c) / 3 << std::endl; return 0;}
Comments