Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

More Books

Students also viewed these Databases questions

Question

2. How should this be dealt with by the organisation?

Answered: 1 week ago

Question

explain what is meant by the term fair dismissal

Answered: 1 week ago