Question: do it in a easy way and its C++ thank you 3. Assign and output the values of three string variables. a) Assign your first

do it in a easy way and its C++ thank you do it in a easy way and its C++ thank you 3.

3. Assign and output the values of three string variables. a) Assign your first and last name to string variables named firstname and lastname. b) Assign your college major to a string variable named major. c) Print the value of these variables as part of the phrase: "My name is X Y and my major is 2" as displayed in the example output. (using your first, last name and intended college major). Example Output My name is Bill Gates and my major is computer Science. PE13 My nane is Bill Gates and ny major is Computer Science

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!