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
What is electromagnetic induction?
Over [174]
The process of using magnetic fields to produce voltage.
6 0
2 years ago
Air is contained in a vertical piston–cylinder assembly such that the piston is in static equilibrium. The atmosphere exerts a p
oee [108]

Answer:

a) 24 kg

b) 32 kg

Explanation:

The gauge pressure is of the gas is equal to the weight of the piston divided by its area:

p = P / A

p = m * g / (π/4 * d^2)

Rearranging

p * (π/4 * d^2) = m * g

m = p * (π/4 * d^2) / g

m = 1200 * (π/4 * 0.5^2) / 9.81 = 24 kg

After the weight is added the gauge pressure is 2.8kPa

The mass of piston plus addded weight is

m2 = 2800 * (π/4 * 0.5^2) / 9.81 = 56 kg

56 - 24 = 32 kg

The mass of the added weight is 32 kg.

5 0
2 years ago
How can I solve 23.5 million Nona meters to millimeters using no calculator because I have to show my work
katrin2010 [14]

Express it in standard form and apply the basic indices laws to simplify

6 0
2 years ago
Read 2 more answers
To solve the problem, make assumptions for missing data and justify. Given:
finlep [7]

Answer:

5,4,1, this is a explication

6 0
2 years ago
A colorful design for a product meant to appeal to a preschool audience reflects which of the following points in industrial des
lord [1]
Appeal to emotion

the product doesn’t need to be colorful to function but it would be more appealing to the intended audience if it was
6 0
2 years ago
Other questions:
  • A 2.599 g sample of a new organic material is combusted in a bomb calorimeter. The temperature of the calorimeter and its conten
    13·1 answer
  • Two hemispherical shells of inner diameter 1m are joined together with 12 equally spaced bolts. If the interior pressure is rais
    15·1 answer
  • A type 3 wind turbine has rated wind speed of 13 m/s. Coefficient of performance of this turbine is 0.3. Calculate the rated pow
    12·1 answer
  • Dunno what to ask, okbye
    5·1 answer
  • The convection heat transfer coefficient for a clothed person standing in moving air is expressed as h 5 14.8V0.69 for 0.15 , V
    6·2 answers
  • A long corridor has a single light bulb and two doors with light switch at each door. design logic circuit for the light; assume
    8·1 answer
  • What should you do before you start welding?
    9·1 answer
  • How will the proposed study contribute to your career?*<br>(quantity Surveying​
    11·1 answer
  • 5. The pin support at A allows _______. Select the one that applies. (a) displacement in the x direction (b) rotation about its
    15·1 answer
  • 3. Determine the most unfavorable arrangement of the crane loads and
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!