1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: C++; arrays and standard devation/variance?

  1. Feb 15, 2010 #1

    Found solution. Nvm.
    Last edited: Feb 15, 2010
  2. jcsd
  3. Feb 15, 2010 #2


    User Avatar
    Science Advisor
    Homework Helper

    what does it print?
    What did you expect it to print?
  4. Feb 15, 2010 #3
    The code works fine as is; it prints the mean, # of data, min and max of the array input. I just don't know how to make it also "cout" the std devation and variance of the input.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook