Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, please provide a detailed assitant if possible. The queestion is really at the end of the document. thank you Here are thr clearer images

Hi, please provide a detailed assitant if possible.
The queestion is really at the end of the document.
thank you image text in transcribed
image text in transcribed
Here are thr clearer images image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
2) Crante a tew provect, impinment and teat the code briow. Cit+i Cels A Driver 4PP Finchafe ciedreim h : using ranespace sed, int main? fo ithe ia Hers IVI_MAX os cndl, Emece ef Clar. STUDE NT a a dita type centening as id namber, a frrs name, a last name, and a are We sull wrat: C++finf A Prodernh clas STLDENT I private: int laNumber. thir FirnNend:og: chur LanNand (30) flout GPA: 11 Base. finfe ustedentiove public chas stupent if privale ine lidvamber, privar chur[t FiratNami; private chief] LastName; wivale flout GiPA: The siev af the STUDRNT date type is the sire uf all the conpeeen date types imide ate clask. So the sue of ctidnent is the sim of the size of the Id Number, First Narse. Iait Nams and GPA. Sos if you can calkalate the nioc of STUDF.NT manally. What is yer 4) A composise duta type is a data type that yew croate. In anay contain other componite data types in it as well as atomic data types. Foe ecumple, uppose we want to represent a STUDENT as a data type coitaining an id nemer. a firs name, a lat name, and a ga. We could write: C++ Codr IStudesth elas STUDENT f private: int ISNumber: char FirstNutnc[20]; char L antNenc 20]; flout GPA: fis JmaCeds HStudere java poblic elas STUDENT private int Id vumber. private char[] FirstName; grivate char[] Lativame; grivate floar GRA; The sixe of the STUDENT data type is the size of all the component data types inside the class. So, the sire of student is the sum of the aine of the lis Number, Firut Name, Last Name and GPA. Soe if you can calculat the site ef STUDENT manually. What is yout answer, Now led us wrat a program te ecepoter the ilier of STUDENT. C+t Code Driver cpp Alinclade "Stadent h" Winchule ciostream.h: wining namsepace st: Updried lanuary 2019 void main0 I STUDENT cout using namespace std; int main( ) \{ int a; cout "the size of a is " sizeof(a)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Please briefly describe how TCP estimate the time out interval

Answered: 1 week ago