//Read in 3 numbers: find total, using a while loop #include using namespace std; void main(){ int num, total = 0; int i=0; //we will use i to run the loop while(i<3) { cout << "Enter a number:"; cin >> num; total = total + num; i++; } cout << "Total=" << total << "\n"; system("pause"); } //main