oh, btw, I know I'm missing the variables totalPos and totalNeg, there what im trying to find..

Here's what I have:

#include <iostream> using namespace std; int main() { int num1, num2, num3, num4, num5, num6, num7, num8, num9, num10, sum_num; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num1; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num2; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num3; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num4; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num5; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num6; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num7; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num8; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num9; cout << "Please Enter a Whole Number, positive or negative: "; cin >>num10; sum_num = num1 + num2 + num3 + num4 + num5 + num6 + num7 + num8 + num9 + num10; cout << "You entered "<< totalPos <<" positive numbers"; cout << "and " << totalNeg <<" negative numbers"; cout <<"The sum of all numbers is " << sum_num; cout <<"\n"; system("pause"); return 0; }

This post has been edited by **xspockx**: 05 March 2009 - 04:56 PM