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

This relief sculpture is an example of a ________________. a. high relief c. freestanding relief b. low relief d. sunken relief
kyle and his brother have a marble set. of the marble, 12 are blue. this represents 50 over 100 of all the marble. which decimal is equivalent to 50 over 100
What type of rock is created when lava cools and hardens?
create a model showing 80% of 300
Which ruler founded the Mughal Empire? Akbar Babur Suleiman Mehmet
convert 0.1% to a decimal
Solve the equation. x^2 = 160 A [tex] \frac{+}{} [/tex] 16 [tex]{ \sqrt{10} } [/tex] B [tex] \frac{+}{} 4 \sqrt{10} [/tex] C 14 D -14, 14
Chad and his two friends are picking blueberries at a local farm. Chad picked 2 1/2 pounds of blueberries, and one of his friends picked 1 3/8 pounds. If they e
Which god or goddess protected the city of Athens
The area of the triangle is 56 m2. Find the length of the base. Question 1 options: 56=1/2(x)(x+6) 56=1/2(x2+6) 56=x(x+6) 56=x2+6 Save Question 2 (1 point) Ques