nbool ReadingInt(const string& prompt, int&
answer);
nWhen you do
not know how many times will the input be supplied, use Conditional
Verified Read, giving the user the option to decline further input.
n
nIf user responds with a valid double then
n store data in parameter answer
n return true as function value
n If
user simply presses return then
n return false as function value
n If
user responds with erroneous data then give feedback and ask again
n