c++ question ...Help me plz

Write a program to find the Root Mean Square of a series of numbers.
You are required to enter a set of positive numbers ( integers) terminated by -99. Use
sigma x^2 =sigma x1^2+sigma x2^2+sigma x3^2+...+sigma xn^2
Root Mean Square = squareroot((sigma x^2)/N)

N is the number of numbers entered.
Do your own homework.
I tried and tried hard but i didn't get the best coding
So show us what you've done. Use code tags - http://www.cplusplus.com/articles/jEywvCM9/
Topic archived. No new replies allowed.