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

Explain the impact and the importance of the election of 1800 in 2 paragraphs. Due 1/31/16 or else, its late
I need to know everything on this page
A(n) __________ refers to a substance or treatment that is often used in an experiment but does not have an actual medicinal or experimental benefit. answer i
what's the relationship between air pressure and gravity?
What is $1000 at 6% interest for three years
consider the equation 18x+12y=72 if x=0 , find the value of y that satisfies the equation
One of your subjects is half way through a study of an investigational antidepressant that is injected weekly. the drug requires a taper-down regimen, that is,
how are chain restaurants started
What 20 dived by 360 long division step by step
How a bar model can be used to show a subtraction problem? 2 grade