I am new to programming and whenever I have used a for loop it has consisted of the following
1. Initialize
2. Condition
3. Body
4. Update
5. Go to 2
6. Quit.
However in the for loop before what is cin>>number
doing in place of the update?
int number = 0;
cout<<"please enter a number that is greater than 15"<<endl;
for (cin>>number; number <= 15; cin>>number)
{
cout<<" Please enter a number that is greater than 15"<<endl;
}