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
Discuss why TVET Institutions need advice of the business community in order
Aliun [14]

Answer:

Without the indispensable advice of the business community, TVET Institutions will be unable to cover the gap in career knowledge required by the business community.  To develop workers who possess the knowledge and skills required by today's business entities, there is always the continual need for the educational institutions (gown) to regularly meet the business community (town).  This meeting provides the necessary ground for the institutions to develop programs that groom the workforce with skills that are needed in the current workplace.  Educational institutions that do not seek this important advice from the business community risk developing workers with outdated skills.

Explanation:

TVET Institutions mean Technical and Vocational Education and Training Institutions.  They play an important role in equipping young people to enter the world of work.  They also continue to develop programs that will improve the employability of workers throughout their careers.  They regularly respond to the changing labor market needs, adopt new training strategies and technologies, and expand the outreach of their training to current workers while grooming the young people for work.

4 0
3 years ago
Select the correct answer.
Genrish500 [490]
A is the correct answer
5 0
3 years ago
Technician A says when tightening lug or wheel nuts a torque wrench must be used. Technician B says that an air wrench can be us
ASHA 777 [7]
A, is your answer hope it helps
4 0
3 years ago
fdkgdsvdgvdfgvsdcvbfbfdbvfdbsdvbesgvdslgfkrledmgoskflodjgloerjgvoljgegjp;erorf;wgp;kiaers;ogjo;rhgerjfrejgfdlhodjglodjheihtgo;rg
RSB [31]

Answer:

kjeo;fwigyds79ay08u-9[onpuefi2 ugw]yw=i\-o3ef

pw]oe;iLH[U

I\EF]

';/ilewuf[p';w iflkh;pif;oewu hf;wfyw hfu we

Explanation:

3 0
3 years ago
What is the difference between a discrete and continuous system?
Serjik [45]

Answer:Discrete system are those system which change the state at the discrete point of time and continuous system are those which have state change at continuous period of time.

Explanation:

  • The major difference between discrete and continuous system is that, discrete system has state change over a discontinuous time period whereas the change of state in continuous system is over a continuous time period .
  • Variations can be found in the discrete system signal but  in continuous system variation cannot be found input and output signal.
  • Example:-

       Discrete system:-employees reporting at office at different time like

       9:10am, 9:15am etc              

       <u> Continuous system</u>:-the water flow over a dam in particular quantity                    

7 0
3 years ago
Other questions:
  • Can time bend? How many day are in a year? Am I stupid? Can I power something with lemons?
    9·2 answers
  • Consider a fully-clamped circular diaphragm poly-Si with a radius of 250 μm and a thickness of 4 μm. Assume that Young’s modulus
    14·1 answer
  • Anyone know the answers to United 3 Quiz
    12·1 answer
  • What makes building an airplane while flying so difficult?
    5·1 answer
  • Steam at 320°C flows in a stainless steel pipe (k 5 15 W/m·K) whose inner and outer diameters are 5 cm and 5.5 cm, respectively.
    6·1 answer
  • A student claims that titanium is the strongest material to fracture. Based on this interaction, which evidence would best suppo
    15·1 answer
  • A resource has value, and people are willing to pay for it most likely because the resource is
    9·2 answers
  • A hubbing press has capasity of 175tons. If the workpice ia a copper alloy part with a 2in^2 projected area, what is the stronge
    10·1 answer
  • Pls i need help with this
    6·1 answer
  • Free brainlist because im new and i just want to but you have t friend me first
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!