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
The radial component of acceleration of a particle moving in a circular path is always:________ a. negative. b. directed towards
lesya [120]

Answer:

d. all of the above

Explanation:

There are two components of acceleration for a particle moving in a circular path, radial and tangential acceleration.

The radial acceleration is given by;

a_r = \frac{V^2}{R}

Where;

V is the velocity of the particle

R is the radius of the circular path

This radial acceleration is always directed towards the center of the path, perpendicular to the tangential acceleration and negative.

Therefore, from the given options in the question, all the options are correct.

d. all of the above

7 0
2 years ago
Please help me on this it’s due now
lbvjy [14]

Answer:

road closures on deliver routes.. i think..

5 0
2 years ago
if when you put your shirt in your pants, your shirt is tucked, does that mean when your shirt is over your pants, your pants ar
Archy [21]

Answer:

confusing, but yes

Explanation:

8 0
2 years ago
Read 2 more answers
. Consider the single-engine light plane described in Prob. 2. If the specific fuel consumption is 0.42 lb of fuel per horsepowe
Trava [24]

Answer:

Hence the Range and Endurance of single engine plane is given by

650.644 miles and 5.3528 hrs at standard sea level.

Explanation:

Given :

A single engine light plane with ,

Specific fuel consumption 0.42lb/hr/hp.

Fuel capacity =44 gal.

Gross weight =3400 lb.

To find :

Range and Endurance of the plane.

Solution:

Consider  all standard measures of standard single engine propeller plane

as

Wing span =35.8 fts.

Wing swing area=174 sq ft

parasite drag coefficient  =Cd.o.=0.025

Oswald's eff. factor= 0.8

ρ=0.002377= corresponds to standard sea level constant.

Now

Formula for Range is given by, Breguent formula.

R=(η/c)  *(Cl/Cd)*ln(W1/W0)

here η is Oswald's constant,

Now calculating lift(Cl) and drag coefficient (Cd)

Cl=W/(1/2*ρ*v^2*S)

W=Gross weight

ρ=0.002377

Assume v=200 ft/sec normally,

S=174 Sq .ft.

CI=3400/(1/2*0.002377*200*200*174)

=6800/16543.9

=0.4110

Now calculating drag constant,

AR=(wing span)^2/wing swing area

=(35.8)^2/174

=7.37

Now

Drag Coefficient

Cd=Cd.o.+ (Cl^2)/(pie*e*AR)

=0.025+(0.4110)^2/(3.142*0.8*7.36)

=0.0342

Given that 44 gal fuel capacity and in Aviation weight of fuel is 5.64 lb/gal

hence weight of fuel=W1=3400- (44*5.64)

=3151.84

Now

for specific fuel consumption=0.42  lb/hp/hr

=0.42  lb*(1/550 ft)*(1/3600)sec

=2.12 *10^-7 lb/ft/sec

Now further calculating range

R=(η/c)  *(Cl/Cd)*ln(W1/W0)

={0.8/(2.12*10^-7)}*(0.4110/0.0342)*ln(3151.84/3400)

=0.024908/0.072504

=0.34354*10^7

=3.4353 *10^6 fts.

1mi =5280 ft

=(3.4353/5280)*10^6

=650.644 miles

Now

For Endurance

E=(η/c)*{(Cl^3/2)/Cd}*(2*ρ*S)^1/2*[1/(W1)^1/2  -1/(W0)^1/2].

=(0.8/2.12*10^-7)*{(0.4110^3/2)/0.0342}*(2*0.002377*174)^1/2*[1/(3151.84)^1/2  -1/(3400)^1/2]

=3.7735*10^6*7.7043*0.8272*0.0006629

=0.01927*10^6

=1.927*10^4 sec

here 1hr =3600 sec

E=(1.927/3600)*10^4

=5.3528 hrs

7 0
2 years ago
I will give Brainliest, please help. :)
ziro4ka [17]

Answer:

The ratio of water to flour needed to make tortillas, which is 3 : 4

Explanation:

100 w = 75 f

w/f = 75/100 = 3/4

7 0
2 years ago
Read 2 more answers
Other questions:
  • Consider a single crystal of some hypothetical metal that has the BCC crystal structure and is oriented such that a tensile stre
    10·1 answer
  • A decorative fountain was built so that water will rise to a hieght of 8 feet above the exit of the pipe. the pipe is 3/4 diamet
    5·1 answer
  • When will the entropy value of the universe attained its maximum value?
    13·1 answer
  • "12 cents per kilowatt-hour (kwh), a 114 MPGe (combined) Nissan Leaf costs 90 cents per 25 miles,"
    10·1 answer
  • Make a sketch of a simple mechanically expanded brake and indicate the forces ​ ​ acting on the leading shoe when the brake is a
    10·1 answer
  • Which of the following addresses future implications of design and process decisions?
    5·1 answer
  • What are the BENEFITS and RISKS of using automobiles?
    10·1 answer
  • A person has driven a car 180 m in 40 seconds. What is the car’s speed?
    12·1 answer
  • How many and what type of<br> receptacles are connected to<br> this circuit?
    15·1 answer
  • A school bus with its flashing red signals on has stopped on a non-divided highway; you must?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!