Page 1 of 1

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

Posted: Fri May 20, 2022 1:37 pm
by answerhappygod
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 =