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

Plz help!! Choose the best paraphrase of these lines from "the sidewalk racer" I'm the only one / single engine / human auto / mobile. A. Who is I can move as
Find an equation for the line below
3L_3,500 mL I need help plz I do not understand this promble
Which statement is true about the segment connecting points b and c
The dimensions of aaron’s bedroom are 10 feet by 12 feet. he uses a scale of 1 foot = 3 inches to make a scale drawing of the room. what dimensions should he dr
color all congruent angles the same color,and list all congruent angles below
If you double the length of the radius of a circle, what effect does it have on: the circumference of the circle, and the area of the circle? Thank you!
Need help!!!!!!!!!!!!
All of the waves in the electromagnetic spectrum are _______ waves. Question 3 options: compression longitudinal mechanical transverse
What makes a topic strong or weak?