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

Solve by substitution 3x - 5y = -1 , x-y = -1
Helpppppp I’m begging
Clarify this sentence with a prepositional phrase. "¿Cómo se llama su hermano? (ellas)" Format Example: Question: Su hermana es muy bonita. (ella) Answer: La he
list any two types of organelles. Thank you :D
I. Choose the correct answer: 1. The voice box is also called as (a) stomach (b) heart (c) larynx (d) mouth 2.Sound is a kind of (a) work (b) energy(c) forc
What is the family disruption that receives a great deal of media attention? a. Divorce c. Alcoholism b. Remarriage d. Drug abuse.
Shelp corporation has provided the following information: cost per unit cost per period direct materials $ 7. 15 direct labor $ 3. 35 variable manufacturing ove
Write an expression for the perimeter of the rectangle. 3x-2 X x + 61
Slope of (8,-8) (1,6)
please help i need this done asap