Question: I need help understanding how to do the things that are asked in the problem. Thank you in advance! PLEASE READ I'm in a beginning

 I need help understanding how to do the things that areasked in the problem. Thank you in advance! PLEASE READ I'm ina beginning class and we're learning how to make very simple C++programs using Putty. Unfortunately I'm having trouble with this one, perhaps I

am copying the program incorrectly, but need to know how to findout what the outputs would be for each input. The underscores aremeant to represent spaces. Here is the problem given: a) include usingnamespace std; The user intends to input the fol int main() string

I need help understanding how to do the things that are asked in the problem. Thank you in advance!

PLEASE READ I'm in a beginning class and we're learning how to make very simple C++ programs using Putty. Unfortunately I'm having trouble with this one, perhaps I am copying the program incorrectly, but need to know how to find out what the outputs would be for each input. The underscores are meant to represent spaces. Here is the problem given: a) include using namespace std; The user intends to input the fol int main() string fullName, address, major; char gender; cout " cout gender cout " What will the above program output? b) include using namespace std; The user intends to input the following int main() string fultName, address, major; char gender; cout cout > gender; mcenter> cout " What will the above program output? C) include > gender; center> cin.ignore) cout cout using namespace std; The user intends to input the following int main() string fullName, address, major; char gender; cout gender; cout " cout return 0; Question> What will the above program output? e) include using namespace std; The user intends to input the following int main() string fulLName, address, major: char gender; cout " > gender; cout "" return 0; What will the above program output? ) include using namespace std; The user intends to input the following int main() string fullName, address, major; char gender; cout cout > gender; cout cout return 0; Question> What will the above program output? include using namespace std; The user intends to input the following int main string fullName, address, major; char gender, ch; cout " cout gender; cout " cout cout cout " return 0;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!