nThe function that supports verified conditional input returns a
boolean value true, if the input was supplied, and returns false when no input
was given.
nThe function is best illustrated as follows:
n int total = 0; int item;
n while (ReadingInt("Next Bar
Code"), item){
n total = total + item *
Price(item);
n }
n cout << "Total is:
" << total << endl;
n