Infinite Loop Example
cin >> dataValue >> sentinel;
while (sentinel = 1)
{
   .
   .
   .
   cin >> dataValue >> sentinel;
}