this is what i have so far. i wrote the notes in the beginning so that any one who sees this knows what i'm looking for. i'm not sure if i have to display each check#, or if there's a way that i can loop it in the WHILE or if i do have to display each individual field so that i can find the largest # out of the 10....any help or suggestions are GREATLY appreciated!
// Ex. 2.20: ex220.cpp
/* Write a program that uses a counter to count to 10, display the current input, and show the largest number so far. */
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main ()
{
int check1, check2, check3, check4, check5;
int check6, check7, check8, check9, check10;
int itemCounter, largest;
// initialization phase
total = 0; // clear total
itemCounter = 1; // prepare to loop
// processing phase
while (itemCounter <= 10) {
cout << "Enter check amount: ";
cin >> check1;
cin >> check2;
cin >> check3;
cin >> check4;
cin >> check5;
cin >> check6;
cin >> check7;
cin >> check8;
cin >> check9;
cin >> check10;
itemCounter = itemCounter + 1;
}