Question: homework C++ A) Write a structure declaration for a structure named Student that holds the following data about a student: ID (int) entry year (int)

homework C++

A) Write a structure declaration for a structure named Student that holds the following data about a student: ID (int) entry year (int) GPA (double)

B) Then write definition statements that create the following two Student variables and initialize them using initialization listsl Variable s1 should have ID number 1234, entry year 2006, and GPA 3.41. Variable s2 should have ID number 5678 and entry year 2007. The GPA member is left uninitialized.

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!