Please help me
Please write a C++ code for average and standard deviation and route mean square?
Do your homework yourself
Reply:Yes, do the homework yourself. One thing that might be helful is to use math class in c++.
do this
#include %26lt;math.h%26gt;
sometimes its
#include %26lt;math%26gt;
go to this website to see what functions you will need. like srt and pow
http://www.cplusplus.com/ref/cmath/
ex: Take a sqrt of 5
#include %26lt;math.h%26gt;
#include %26lt;iostream.h%26gt;
void main(){
cout %26lt;%26lt; "Square Roo of 5:" %26lt;%26lt; sqrt(5) %26lt;%26lt; endl;
}
Thats it, I just helped you a ton. The rest is up to you. You really should do the hw yourself or ask a teacher.
Good Luck
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment