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 angle of twist can be computed using the material’s shear modulus if and only if: (a)- The shear stress is still in the elas
ollegr [7]

Answer:

The angle of twist can be computed using the material’s shear modulus if and only if the shear stress is still in the elastic region

Explanation:

The shear modulus (G) is the ratio of shear stress to shear strain. Like the modulus of elasticity, the shear modulus is governed by Hooke’s Law: the relationship between shear stress and shear strain is proportional up to the proportional limit of the material. The angle of twist can be computed using the material’s shear modulus if and only if the shear stress is still in the elastic region.

3 0
3 years ago
The design specifications of a 1.2-m long solid circular transmission shaft require that the angle of twist of the shaft not exc
Verizon [17]

Answer:

c = 18.0569 mm

Explanation:

Strategy  

We will find required diameter based on angle of twist and based on shearing stress. The larger value will govern.  

Given Data  

Applied Torque

T = 750 N.m

Length of shaft

L = 1.2 m

Modulus of Rigidity

G = 77.2 GPa

Allowable Stress

г = 90 MPa

Maximum Angle of twist  

∅=4°

∅=4*\pi/180

∅=69.813 *10^-3 rad

Required Diameter based on angle of twist  

∅=TL/GJ

∅=TL/G*\pi/2*c^4

∅=2TL/G*\pi*c^4

c=\sqrt[4]{2TL/\pi G }∅

c=18.0869 *10^-3 rad

Required Diameter based on shearing stress

г = T/J*c

г = [T/(J*\pi/2*c^4)]*c

г =[2T/(J*\pi*c^4)]*c

c=17.441*10^-3 rad

Minimum Radius Required  

We will use larger of the two values  

c= 18.0569 x 10^-3 m  

c = 18.0569 mm  

3 0
3 years ago
Every two years or at recommendation by manufacturer.
9966 [12]

Answer:

Manufacturer’s Recommendations means the instructions, procedures, and recommendations which are issued by the manufacturer of any equipment used at the Facility relating to the operation, maintenance, or repair of such equipment, and any revisions or updates thereto from time to time issued by the manufacturer.

Manufacturer’s Recommendations means the instructions, procedures and recommendations which are issued by any manufacturer of the Equipment relating to the operation, maintenance and repair of the Equipment and any revisions to such instructions, procedures and recommendations agreed to by any manufacturer of the Equipment and which are valid at the time such operation, repair and maintenance is being carried out.

Manufacturer’s Recommendations means the written instructions, procedures and recommendations which are issued by the original equipment manufacturer of any plant or equipment used at the Utility Plant relating to the operation, maintenance and repair of such plant or equipment and any revisions thereto issued by the manufacturer, which are valid and applicable at the time such operation, maintenance or repair is undertaken. Notwithstanding the above, Manufacturer’s Recommendations shall not include any instructions, procedures or recommendations of a manufacturer of any plant or equipment that the Owner and the Operator have agreed in writing to exclude from this definition or have agreed in writing should not be followed.

Explanation:

4 0
2 years ago
The greater the force applied to an object, the _____ the change in speed or direction of the object.
storchak [24]

Answer:

b

Explanation:

8 0
3 years ago
Select the characteristics of an ideal operational amplifier.
SpyIntel [72]

Answer:

Numbers 4, 6, & 7 are correct

Explanation:

4- this allows the op amp to have zero voltage so that maximum voltage is transferred to output load.

6- this ensures that op amp doesn't cause loading in the original circuit, high input impedance would not deter the circuit from pulling current from it.

7- high difference between upper and lower frequencies.

3 0
3 years ago
Other questions:
  • Three return steam lines in a chemical processing plan enter a collection tank operating at a steady state at 1 bar. Steam enter
    11·1 answer
  • The flowchart below shows the design steps required to build a working model.
    6·1 answer
  • Turning a screw with a screwdriver pushes the screw into the wood. The force is __________ over many turns
    9·1 answer
  • Explain the four criteria for proving the correctness of a logical pretest loop construct of the form "while B do S end". And pr
    12·1 answer
  • A 150-lbm astronaut took his bathroom scale (a spring scale) and a beam scale (compares masses) to the moon where the local grav
    13·1 answer
  • What structure was created to help prevent shipwrecks?
    9·1 answer
  • Which type of Bridge is considered the strongest in both compression and tension?
    11·2 answers
  • In the planning process of the product development life cycle what is it important to inventory
    7·1 answer
  • ⊂who else is obsessed with the ornail
    9·1 answer
  • Discuss importance of good communication system​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!