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

20 POINTS MORE THAN ONE ANSWER Which examples of artificial selection are caused by human activity without people even realizing it? A. an increase of tuskless
Need help confused about what they mean
What to the power of 2 equals 1/9
Write three ratios equal to 4/36
Which group did not share the prosperity of the late 1800s
What did the flying machine say before it crashed?
Renewable fuels derived from biological matter are called: A: alternative energy B: challenges to green design C: fossil fuels D: biofuels
The total mileage for Wayne's trip is 420 miles. So far, he has traveled 180 miles in 3 hours. Wayne will continue his trip at this rate of speed. Which express
what is 3/4 of 3 HALP DUE NOW
The longest wavelength within the visible spectrum is _______ light.        A. orange   B. blue   C. red   D. violet I'm confuse between C and D help