The file contains the line: Hotel, 3 nights. $ 1,750.25. What prints?
ifstream in("");
char c;
while ( (c))
{
if (isdigit(c)) {
();
int n;
in >> n;
cout << n << 'x';
}
}
a) 3x
b) 1750.25x
c) Hotel, x
d) Nothing