aliyahmorgan654 aliyahmorgan654
  • 03-08-2019
  • Computers and Technology
contestada

Assume that the type NAME has already been defined. Define a new type, SREC that is a structure consisting of two fields: name (a NAME) and grade (a string).

Respuesta :

ofentsemaphalla
ofentsemaphalla ofentsemaphalla
  • 06-08-2019

Answer:

struct SREC

{

       NAME name;

       string grade;

};

Explanation:

The first line declares a new data type, a structure, of name SREC. The open and close braces, are used to contain other data fields or members, namely: name and grade variables.

The NAME has already been defined, hence there is no declaration method in the SREC structure.

Answer Link

Otras preguntas

What two positive consecutive integers have a product of 72
Which statement correctly defines power
1-Ready Login How many digits will be in the quotient? 39) 4,641 1)4 digits 1 digit 3 digits 2 digits 4 digits
CTT GAC TGA TGC 3. Transcribe the DNA Strand (answer to previous question) to an mRNA strand: (2 point)
Anakka is admiring a statue in Dover Park from 16 meters away. If the distance between the top of the statue to Anakka's head is 20 meters, then the statue is _
30 POINTSSSS!! Write a full paragraph (4-6 sentences) that answers this question: How do these items shape the character’s perspective and reveal his/her conne
Help thanks Xxxxxxxxx
please help please ❤️❤️ !!
This is a trigonometry question
what was sam's punishment for bringing magnus to valhalla