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