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
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
Get step-by-step solutions from verified subject matter experts
