jharnachettri6
jharnachettri6 jharnachettri6
  • 21-11-2020
  • Health
contestada

write a program to print the smallest number among three numbers ​

Respuesta :

NezukoChan2
NezukoChan2 NezukoChan2
  • 23-11-2020

Answer:

Get three inputs num1, num2 and num3 from user using scanf statements. Check whether num1 is smaller than num2 and num3 using if statement, if it is true print num1 is smallest using printf statement. Else, num2 or num3 is smallest. So check whether num2 is smaller than num3 using elseif statement.

Explanation:

Answer Link

Otras preguntas

you want to obtain a sample to estimate a population proportion. at this point in time, you have no reasonable preliminary estimation for the population proport
Please help build a graph
Help me out guys.....
geometry:( will give brainist to correct answer:)
what's common to H20,HF and NH3​
Two workers are sliding 500 kg crate across the floor. One worker pushes forward on the crate with a force of 440 N while the other pulls in the same direction
10 points Which of these is the best example of heat transfer by radiation? *1 pointa) A satellite is warmed by sunlight.b) A ceiling fan cools a warm room.c) B
On a coordinate plane, 2 lines with negative slopes are shown. Line M N goes through points (negative 2, 0) and (negative 6, 8). Line M prime N prime goes throu
How would you describe 2020 in your own words? please follow me thanks It will help me alot also what is your favorite song? 100 points is free
Why does powdered calcium carbonate react faster with hydrochloric acid than calcium carbonate chips? ​