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

what is 54 times 3 times 71 minus 45 plus 102 divided by 6 times 25 subtracted by 34 times 141 plus 32 subtracted by 67? Also put 578402/10856 in simplest form.
if cosx=1/12 and sinx>0 find tan2x
what are the factor pairs of 38
I have been stuck with this one, and i would like to how to solve this. In each case, determine whether line AB is parallel or perpendicular to CD. (a) A(0, 0),
Hello. For my french class I have to write a letter to my french friend. In this letter I have to talk about spending my holiday at his house. (for example: wha
How close to North Korea is Inchon?
Can someone help me with this whole page? Hurry it's due Monday!
What is the percentage increase from 200 to 280
The outermost tissue of a tree trunk that is 6 feet in diameter would most likely be (A) epidermis (B) cork (C) cortex (D) phloem (E) xylem
Jim has a box in the shape of a rectangular prism. The area of the base of the box is 48 square inches. The volume of the box is 144 cubic inches. let h= the he