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

Name two things found in a plant cell that are not found in an animal cell.
fun facts about Uranus the planet?
How many hawksbill turtles are left in the world?
The radius of a bicycle wheel is 12 in. What is the approximate circumference of the wheel?
Suppose x + y = 6 and xy = 4. Find the value of x² y + xy² without solving the equations.
A candy distributor needs to mix a 10% fat-content chocolate with a 40% fat-content chocolate to create 100 kilograms of a 16% fat-content chocolate. How many k
Sacha has 4 quarters in her pocket.she has 6 timés as many quarters in her piggy Bank. Draw a picture to show thenumber of quarters sacha has in her piggy Bank.
How did world war 1 contribute to the collapse of the Russian monarchy?
From the equations 7a = 4 and 7a + 4b = 12, one can conclude that b is? Please explain the work behind the solution
Give all solutions if the nonlinear system of equations, including those with no real complex components. y=x^2+6x 4x-y=-24