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
umka2103 [35]
3 years ago
13

Checkpoint 4.72 Write a statement that uses a conditional expression that determines if the credits variable is less than 0. If

the condition is true, assign the value 0 to the credits variable, otherwise the value of the credits variable should remain unchanged.
Engineering
1 answer:
Andrew [12]3 years ago
3 0

Answer:

See step to step explanations for answer.

Explanation:

This is the expression to check if credits is less than 0 assuming variable name is credits:

if(credits<0)

{

credits = 0;

}

Q 4.69:

this is the expression checking the name is Swordfish or not

if(name=="Swordfish")

{

cout<<"We have a match";

}

Q 4.67

This is the expression to check the character assuming that character is ch

if(ch>='1' && ch<='9')

{

cout<<"Digit detected";

}

Q 4.59:

This is the statement to check if the number is between 0 and 500 inclusive . Assuming the variable is n

if(n>=0 && n<=500)

{

cout<<"The number is valid";

}

You might be interested in
Wireless technology has made communicating
emmainna [20.7K]

Answer:

Taking as a basis of calculation 100 mol of gas leaving the conversion reactor, draw andcompletely label a flowchart of this process. Then calculate the moles of fresh methanol feed,formaldehyde product solution, recycled methanol, and absorber off-gas, the kg of steamgenerated in the waste-heat boiler, and the kg of cooling water fed to the heat exchangerbetween the waste-heat boiler and the absorber. Finally, calculate the heat (kJ) that must beremoved in the distillation column overhead condenser, assuming that methanol enters as asaturated vapor at 1 atm and leaves as a saturated liquid at the same pressure.

1

SEE ANSWER

Explanation:

6 0
3 years ago
In a food processing facility, a spherical container of inner radius r1 = 40 cm, outer radius r2 = 41 cm, and thermal conductivi
Rashid [163]

Answer:

attached below

Explanation:

5 0
4 years ago
A freshwater jet boat takes in water through side vents and ejects it through a nozzle of diameter D = 75 mm; the jet speed is V
Radda [10]

Answer:

a) 0.0663 m³/s

b) 3.312 N/(m/s)²

c) 16.665 m/s

d) 0.1105 m³/s

Explanation:

See attached pictures.

3 0
4 years ago
Exhaust gas from a furnace is used to preheat the combustion air supplied to the furnace burners. The gas, which has a flow rate
Monica [59]

Answer:

The total tube surface area in m² required to achieve an air outlet temperature of 850 K is 192.3 m²

Explanation:

Here we have the heat Q given as follows;

Q = 15 × 1075 × (1100 - t_{A2}) = 10 × 1075 × (850 - 300) = 5912500 J

∴ 1100 - t_{A2} = 1100/3

t_{A2}  = 733.33 K

\Delta \bar{t}_{a} =\frac{t_{A_{1}}+t_{A_{2}}}{2} - \frac{t_{B_{1}}+t_{B_{2}}}{2}

Where

\Delta \bar{t}_{a} = Arithmetic mean temperature difference

t_{A_{1} = Inlet temperature of the gas = 1100 K

t_{A_{2} = Outlet temperature of the gas = 733.33 K

t_{B_{1} =  Inlet temperature of the air = 300 K

t_{B_{2} = Outlet temperature of the air = 850 K

Hence, plugging in the values, we have;

\Delta \bar{t}_{a} =\frac{1100+733.33}{2} - \frac{300+850}{2} = 341\tfrac{2}{3} \, K = 341.67 \, K

Hence, from;

\dot{Q} = UA\Delta \bar{t}_{a}, we have

5912500  = 90 × A × 341.67

A = \frac{5912500  }{90 \times 341.67} = 192.3 \, m^2

Hence, the total tube surface area in m² required to achieve an air outlet temperature of 850 K = 192.3 m².

4 0
3 years ago
What line separates two lanes traveling in the same direction
soldier1979 [14.2K]

Answer:

White lane lines separate lanes of traffic moving in the same direction. (UK)

5 0
3 years ago
Read 2 more answers
Other questions:
  • In Visual Basic/Visual Studio, characteristics of controls, such as the Name of the control, or the Text displayed on the contro
    10·1 answer
  • You have just finished your OST takeoffs for a single-story home and found 175 LF of interior walls with 2x6 studs 14" OC. The h
    14·1 answer
  • Air expands through an ideal turbine from 1 MPa, 900 K to 0.1 MPa, 500K. The inlet velocity is small compared to the exit veloci
    10·1 answer
  • One kilogram of water contained in a piston–cylinder assembly, initially saturated vapor at 460 kPa, is condensed at constant pr
    15·1 answer
  • Can a real refrigerator have higher COP than the COP of the Carnot refrigerator?
    7·2 answers
  • 5 kg of a wet steam has a volume of 2 m3
    8·1 answer
  • Is a unit of measurement for angles
    15·1 answer
  • Which of the following sentences uses the word malleable correctly?
    7·2 answers
  • What’s the answer???
    9·1 answer
  • An open tank contain oil of specific gravity 0.75 on top of
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!