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

Please answer the question in the attachment on circle theorems. 10 points available.
How do the policies of the War on Terror affect democracy and civil rights in the United States?
Sarah wants to give the pizza delivery boy a 20 percent tip. If the pizza bill is $48.25, how much should she tip?
this is one through three please help
The Senate is given the responsibility of approving presidential nominations. true or faules
Your answer A group of Jews called the HEBREWS urged their fellow Jews to rise up against the Romans in AD 66.
Please help me on this
People who don’t know Harry tend to underestimate him. They cast a skeptical eye on his typical outfit: ragged jeans and shirts that bear evidence of his most
Which best explains why someone would be better qualified for a job in programming versus a job in information support? Programmers need more experience working
Where would you MOST LIKELY look to find a timeline for the battles of the American Revolution?