Positive numbers and dividing

Assume you want to make sure that the user enters a positive number that is divisible by 10 with no remainder. Write the condition you would use in the following do-while loop.

do
{
cout << “Enter a positive number that is divisible by 10 with no remainder” << endl;
cin >> number;
}
while ( ____________________________________________________________);

while(number%10 == 0)
Please, no one answer his questions, else he will get encouraged to keep posting every new assignment question. One of my solution posts, which I spent some time on, got bumped down off the map because of him.
Topic archived. No new replies allowed.