Question: In c++ Lab 1 Create a program that performs the following actions: . Construct a structure Student that consists of the following fields: ID, marks,

In c++ Lab 1 Create a program that performs the following actions:In c++

Lab 1 Create a program that performs the following actions: . Construct a structure Student that consists of the following fields: ID, marks, grade . A function with the following prototype: void fill (Student *); // It fills the object fields from the user. o A function with the following prototype: void print (Student *); // It prints the object fields. Inside the main function: . Ask the user to specify the number of students. Create a dynamic array of the size specified by the user for the students. . Fill the array elements by calling the first function. Print the array elements by calling the second function

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!