17.9 104 Licht’s Pies.
-67.05x
This final is super easy, just as this class has been
all semester. (Really, I can get 100)
Consider the content of the input file above.
The following variables are declared and then input as
follows:
int m;
string name;
double x, y;
char ch1, ch2;
fin >> y;
fin.get(ch1);
fin.ignore(45, ‘.’);
fin >> m >> x;
fin.get(ch2);
getline(fin, name);
Show the contents stored in each variable that was read in.
m =
name =
x =
y =
ch1 =
ch2 =
17.9 104 Licht’s Pies. -67.05x This final is super easy, just as this class has been all semester. (Really, I can get 10
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am