The input statement is:
cin >> a >> b >> c;
cin.ignore(100, '\n');
cin.get(ch1);
cin >> d >> e >> f;
cin.ignore(100, '\n');
cin.ignore(100, '\n');
cin >> a >> b;
What are the contents of variables a, b, c, d, e and f after the statements are executed?
I tried to read up on the ignore function and get functions and it sounds like it just speeds through the formula. I I have no idea how to figure out the contents of those variables. If someone could tell me what "a" is and how you got it then I could figure out the rest on my own. I just need some guidance. Thanks!!