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

Any gîrls here free to talk
Answer number 5 a,b,c,d,e pls thanks
which organization was created to help blacks after the end of slavery?
Rahi is pouring concrete to create the foundation of a square deck covering 112 square feet. Which is the best estimate of one side of the deck? Round to the ne
spade realty sold lots for $23240 per hectare . what is total sales values if the lots in hectare were 2,3,4 ?
The measure of an angle is 34.6°. What is the measure of its complementary angle?
100 POINTS 6 different answers needed, and a chart filled out I'll work on it on my own, but I do need some help and it would also be nice to compare my answe
True or false everyone in the colonies could vote
According to the Law of Conservation of Matter, if I have an Oreo cookie that weighs 20 grams and I crush it into crumbs for a recipe, how much do the crumbs we
change -23/20 into a deciamal