1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
____ [38]
3 years ago
12

Write a statement to print the data members of InventoryTag. End with newline. Ex: if itemID is 314 and quantityRemaining is 500

, print: Inventory ID: 314, Qty: 500
Engineering
1 answer:
Advocard [28]3 years ago
7 0

Answer:

#include <stdio.h>

typedef struct InventoryTag_struct {

int itemID;

int quantityRemaining;

} InventoryTag;

int main(void) {

InventoryTag redSweater;

redSweater.itemID = 314;

redSweater.quantityRemaining = 500;

/* Your solution goes here */

printf("Inventory ID: %d, Qty: %d\n",redSweater.itemID,redSweater.quantityRemaining);

getchar();

return 0;

}

Explanation:

You might be interested in
For a copper-silver alloy of composition 25 wt% Ag-75 wt% Cu and at 775C (1425F) do the following: (a) Determine the mass frac
allochka39001 [22]

Answer:

a)

mass fraction of α = 0.796

mass fraction of β = 0.204

b)

mass fraction of primary α (Wα) = 0.734

mass fraction of  eutectic micro-constituents (We) = 0.266

c)

α in eutectic mixture = 0.062

Explanation:

Assumptions:

(i) the  system is in thermal equilibrium with its surroundings

(ii) There are no impurities or other alloying elements present

(a) Determine the mass fractions of α and β phases

From the Cu - Ag phase diagram, Cα = 8.0 wt% Ag, Cβ = 91.2 wt% Ag, and C0 = 25 wt% Ag .Using the lever-rule:

Total mass fraction of α = (Cβ - C0) / (Cβ - Cα) = (91.2 - 25) / (91.2 - 8) = 0.796

Total mass fraction of β = (C0 - Cα) / (Cβ - Cα) = (25 - 8) / (91.2 - 8) = 0.204

(b) Determine the mass fractions of primary α and eutectic microconstituents

Ceutetic = 71.9 wt.%Ag

mass fraction of primary α (Wα) = (Ceutetic - C0) / (Ceutetic - Cα) = (71.9 - 25) / (71.9 - 8) = 0.734

mass fraction of  eutectic micro-constituents (We) = (C0 - Cα) / (Ceutetic - Cα) = (25 - 8) / (71.9 - 8) = 0.266

(c) Determine the mass fraction of eutectic α.

From the eutetic reaction, L  ↔    α + β

Total α = Primary α + α in eutectic mixture

Therefore: α in eutectic mixture = Total α - Primary α = 0.796 - 0.734 = 0.062

5 0
3 years ago
Read 2 more answers
Define engineer with work field​
Andrew [12]

Answer:

If you're talking about a field engineer then here is the basic description of their job.

Explanation:

They usually inspect and install equipment, direct workers, and report project status. They are in charge of making sure everything works smoothly. Engineers who work in the field oversee projects and are usually traveling.

5 0
3 years ago
What are the assumptions made for air standard cycle analysis?
diamong [38]
D i took this hope it helps
4 0
3 years ago
How deep does electrical conduit need to be buried?
GenaCL600 [577]
In general, bury metal conduits at least 6 inches below the soil surface. You may also run them at a depth of 4 inches under a 4-inch concrete slab. Under your driveway, the conduits must be below a depth of 18 inches, and under a public road or alleyway, they must be buried below 24 inches.
7 0
3 years ago
Which of the following describes the wireless standard?
Maksim231197 [3]
The awnswer is a. 802.11
7 0
3 years ago
Read 2 more answers
Other questions:
  • Many companies are combining their online business activities with an existing physical presence. In about 100 words, explain wh
    11·1 answer
  • What is the weight in pounds of a gallon of oil that has a specific gravity of .86
    8·1 answer
  • Define the terms marker
    10·1 answer
  • When the desired section has been cut out and is not seen elsewhere on the drawing, a(n) ____is being used.
    15·1 answer
  • A very large thin plate is centered in a gap of width 0.06 m with a different oils of unknown viscosities above and below; one v
    12·1 answer
  • ..........................
    10·1 answer
  • Design a solid steel shaft to transmit 14 hp at a speed of 2400rpm f the allowable shearing stress is given as 3.5 ksi.
    10·1 answer
  • Which of the following sentences uses the active voice
    15·1 answer
  • Why did the dodge demon cross the road
    9·2 answers
  • Water flows steadily through the pipe as shown below, such that the pressure at section (1) and at section (2) are 300 kPa and 1
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!