63 052
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #44001 in C++ for kevin

Question #44001
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
Expert's answer
#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;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions