Question: Overview This checkpoint is intended to help you practice the mechanics of structs in C++. Instructions Write a C++program according to the following: 1. Create


Overview This checkpoint is intended to help you practice the mechanics of structs in C++. Instructions Write a C++program according to the following: 1. Create a struct for a Student, that contains a string for a first name, a string for a last name, and an integer for an id. 2. Create a function called, displayStudent, that accepts a student struct, and displays their information in the following format: "id#-FirstName LastName" The program should do the following . Declare a Student struct called "user" 2. Prompt the user for their first name, last name, and id number, and save these values into your "user" struct 3. Pass the user struct to the display function to be displayed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
