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

math help pls, thank u
ben is 39 and joe is 3, how many years will it take until ben is 4 times as old as joe?
How many significant figures are there in the measurement 64,000 mg? A. 2 B. 3 C. 4 D. 5
how can tobacco affect the digestive system? A; raises blood pressure. B; causes bladder cancer. C; causes colorectal cancer. D; causes ulcers.
27m6n4 Rewrite in exponential form
How did Pierre Roux, Emil Behring and Paul Ehrlich develop effective treatment of diseases?
David has 52 cans, Sarah has 51 less than X how many does Sarah have
If a car is purchased for $16,000, what is the predicted value of the car in 4 years if it depreciates at a rate of 15% per year? Round to the nearest cent, if
help me with this plzz i dont understand
What compound accumulates in the blood of people who have PKU?