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

I need help Please!!!!!!
Omar keeps track of the number of people inside a music hall to attend a concert by looking at the number of scanned tickets. He plotted the data on the graph b
Question 4 of 10 Solve (x-4)²2 = 5. OA. x=-4± √5 OB. x=5± √√4 OC. x=9 and x = -1 OD. x=4± √5
find the -2 -4 -3 -1 -9-8 determinant OF -15 - 5 6
please help! I will really appreciate it​
A veterinarian is interested in the average number of pets her clients own. over the course of a month, she questions each client she meets with and records the
Find the missing side of this right triangle. X 28 [?] X =1 Enter the number that belongs in the green box.
The graph of y=kcos(8x)
How would you conduct a book club discussion about shirley jackson's "the lottery"? give specific examples of ways to handle reactions to the story.
How do I solve this?