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

que significa profanar
How many unpaired electrons in ge.
Please to this step by step with answer
3. What is the primary job of each branch?
Find the perimeter asap
Which statement correctly describes how attractions that hold particles break? (1 point) O Attractions occur due to electrostatic forces. When particles move f
Choose one of the monosaccharide that gave a positive Benedict's test. Write the chemical reaction equation for that positive Benedict's test showing how the st
plss answer it properly
Matter is in a liquid state when its temperature is between its melting point and its boiling point. Suppose that some substance has a melting point of - 39.76
Junior purchases a Nissan Sentra from a car dealership. He got a 5 year simple interest loan with an interest rate of 2.45%. Junior purchased the car for $14,54