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
vertical gate in an irrigation canal holds back 12.2 m of water. Find the average force on the gate if its width is 3.60 m. Repo
DanielleElmas [232]

Answer:

The right solution is "2625 kN".

Explanation:

According to the question,

The average pressure will be:

= density\times g\times \frac{h}{2}

By putting values, we get

= 1000\times 9.8\times \frac{12.2}{2}

= 1000\times 9.8\times 6.1

= 59780

hence,

The average force will be:

= Pressure\times Area

= 59780\times 3.6\times 12.2

= 2625537 \ N

Or,

= 2625 \ kN

5 0
2 years ago
Which part of a machine control unit interacts with the machine tools through electric signals?=]
FrozenT [24]

Answer:

control loop unit

Explanation:

Edmentum/Plato

4 0
3 years ago
For powder compaction using a single-action punch, derive an expression for the distribution of axial pressure within a die of r
Zielflug [23.3K]

Answer:

a) 2∪p/lb (l+b)dH

b) po exp( 4∪x/l)

Explanation:

please check the attachment for proper explanation and proper sign notations thanks.

3 0
3 years ago
Compare the use of a low-strength, ductile material (1018 CD) in which the stress-concentration factor can be ignored to a high-
kicyunya [14]

Answer:

Step 1 of 3

Case A:

AISI 1018 CD steel,

Fillet radius at wall=0.1 in,

Diameter of bar

From table deterministic ASTM minimum tensile and yield strengths for some hot rolled and cold drawn steels for 1018 CD steel

Tensile strength

Yield strength

The cross section at A experiences maximum bending moment at wall and constant torsion throughout the length. Due to reasonably high length to diameter ratio transverse shear will be very small compared to bending and torsion.

At the critical stress elements on the top and bottom surfaces transverse shear is zero

Explanation:

See the next steps in the attached image

5 0
3 years ago
I am having trouble understanding how I got these wrong on my test. Is there something I am missing with xor?
GuDViN [60]

Answer:

  your answer is correct

Explanation:

You have the correct mapping from inputs to outputs. The only thing your teacher may disagree with is the ordering of your inputs. They might be written more conventionally as ...

 A B Y

 0 0 1

 0 1 0

 1 0 0

 1 1 1

That is, your teacher may be looking for the pattern 1001 in the last column without paying attention to what you have written in column B.

8 0
3 years ago
Other questions:
  • Sketch the velocity profile for laminar and turbulent flow.
    15·1 answer
  • All of the following are categories for clutch covers except
    11·1 answer
  • Think of an employee object. What are several of the possible states that the object may have over time?
    6·1 answer
  • Identify the following formulas:
    15·1 answer
  • ______ are an idication that your vehicle may be developing a cooling system problem.
    14·1 answer
  • The most important rating for batteries is the what
    11·1 answer
  • Bob would like to run his house off the grid, therefore he needs to find out how many solar panels and batteries he needs to buy
    12·1 answer
  • A gas mixture containing 3 moles CO2, 5 moles H2 and 1 mole water is undergoing the following reactions CO2+3H2 →cH3OH + H2O Dev
    10·1 answer
  • Binary classification algorithm
    9·1 answer
  • As you push a toggle bolt into a wall, the
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!