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

If 2n=14 what Is 8n? I am really bad at algebra and I need to do my homework
Write -90.85 as a mixed number in simplest form.
27 devided by 1053 in decimal form like 528.6
Approximately how many miles apart are Petrograd and Moscow ? A. 200 B. 350 C. 500 D. 650
how were the oregon and santa fe trails different ?
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
What is the smallest multiple of 6 and 10
what were the 4 major causes of imperialism?
Add and simplify 9/16 + 1/2= ?
need help with this question#20