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

A body cell is in the longest stage of its life cycle. The cell grows, synthesizing proteins and increasing in size. Eventually, the cell will grow too large to
what is the name of the huge city at southeastern corner of new york
How did geography affect the societies and cultures that developed in the early Americas
PLEASE HELP ME Filtering occurs when __________. some light is absorbed and some light is transmitted all light transmitted all light is absorbed light reflects
3x+4y=2 4x-4y=12 by using elimination
Can someone please do number 30.
If you divide the mass of a substance by its volume, can you can find its density?
Is a baseball and cannon are dropped from the same height at the same time, which ball will hit the ground first?
What two numbers add up to 1 but multiply to -30
What is one way local governments are similar to federal governments?