Question: Level of difficulty Easy Objectives Familiarize the student with: Structures Printing on screen Scenario Write a program that creates the first names and last names

Level of difficulty

Easy

Objectives

Familiarize the student with:

  • Structures
  • Printing on screen

Scenario

Write a program that creates the first names and last names of four people and then prints them. Create the appropriate structure.

Then create one variable for each person, initialize their values with a constant value (from the code - don't interact with the user this time).

Finally, print each of them on a separate line.

Your version of the program must print the same result as the expected output.

Expected output

Mary Smith James Johnson Patricia Williams John Brown

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!