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
umka21 [38]
3 years ago
11

Write a function call with arguments tensPlace, onesPlace, and userInt. Be sure to pass the first two arguments as pointers. Sam

ple output for the given program: tensPlace = 4, onesPlace = 1
Engineering
1 answer:
Trava [24]3 years ago
4 0

Answer:

#include <stdio.h>

void SplitIntoTensOnes(int* tensDigit, int* onesDigit, int DecVal){

  *tensDigit = (DecVal / 10) % 10;

  *onesDigit = DecVal % 10;

  return;

}

int main(void) {

  int tensPlace = 0;

  int onesPlace = 0;

  int userInt = 0;

  userInt = 41;

  SplitIntoTensOnes(&tensPlace, &onesPlace, userInt);

  printf("tensPlace = %d, onesPlace = %d\n", tensPlace, onesPlace);

  return 0;

}

You might be interested in
Saturated liquid water flows through 2 cm ID stainless steel tubes at 200 g/s. The water is at 80oC and the inside surface of th
EleoNora [17]

Answer:

steel

Explanation:

8 0
2 years ago
A(n) ______ is used to measure fluid flow in engineering
Arte-miy333 [17]

Answer:

A pitot tube is used to measure fluid flow in engineering

3 0
2 years ago
Give an example of one technology that is well matched to the needs of the environment, and one technology that is not.
omeli [17]

Answer:

the internet is a need everywhere to do work and games systems is a technology that is just a want.

Explanation:

8 0
3 years ago
Read 2 more answers
Explain the greenhouse effect and its connection to global warming?
worty [1.4K]

Answer:

The 'greenhouse effect' is the warming of climate that results when the atmosphere traps heat radiating from Earth toward space.

Explanation:

Certain gases in the atmosphere resemble glass in a greenhouse, allowing sunlight to pass into the 'greenhouse,' but blocking Earth's heat from escaping into space. The gases that contribute to the greenhouse effect include water vapor, carbon dioxide (CO2), methane, nitrous oxides, and chlorofluorocarbons (CFCs).

On Earth, human activities are changing the natural greenhouse. Over the last century the burning of fossil fuels like coal and oil has increased the concentration of atmospheric CO2. This happens because the coal or oil burning process combines carbon (C) with oxygen (O2) in the air to make CO2. To a lesser extent, the clearing of land for agriculture, industry, and other human activities have increased the concentrations of other greenhouse gases like methane (CH4), and further increased (CO2).

The consequences of changing the natural atmospheric greenhouse are difficult to predict, but certain effects seem likely:

- On average, Earth will become warmer. Some regions may welcome warmer temperatures, but others may not.

- Warmer conditions will probably lead to more evaporation and precipitation overall, but individual regions will vary, some becoming wetter and others dryer.

- A stronger greenhouse effect will probably warm the oceans and partially melt glaciers and other ice, increasing sea level. Ocean water also will expand if it warms, contributing to further sea level rise.

- Meanwhile, some crops and other plants may respond favorably to increased atmospheric CO2, growing more vigorously and using water more efficiently. At the same time, higher temperatures and shifting climate patterns may change the areas where crops grow best and affect the makeup of natural plant communities.

6 0
3 years ago
If you always follow the same five steps to get ready for school, then you are following an algorithm.
raketka [301]

Answer:

hmm true

Explanation:

becuase i think alogorthm is wht u do regurkry if i helped mark me brailist

4 0
2 years ago
Read 2 more answers
Other questions:
  • A petrol engine produces 20 hp using 35 kW of heat transfer from burning fuel. What is its thermal efficiency, and how much powe
    14·1 answer
  • Drag each tile to the correct box.
    11·1 answer
  • The statement that is NOT true about the difference between laminar and turbulent boundary layers is:1.the Reynolds number for a
    8·1 answer
  • Sketch the velocity profile for laminar and turbulent flow.
    15·1 answer
  • The ventilating fan of the bathroom of a building has a volume flow rate of 32 L/s and runs continuously. If the density of air
    7·1 answer
  • Calculate the viscosity(dynamic) and kinematic viscosity of airwhen
    9·1 answer
  • A heat recovery system​ (HRS) is used to conserve heat from the surroundings and supply it to the Mars Rover. The HRS fluid loop
    12·1 answer
  • Discoloration on walls, work surfaces, ceilings, walls, and pipes may indicate a leak that is causing you to waste raw materials
    14·1 answer
  • Explain what the engineering team should advise in the following scenario.
    7·1 answer
  • A single-phase load is located 2800 ft from its source. The load draws a current of 86 A and operates on 480 V. The maximum volt
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!