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

I need help with this question​
What is The absolute value of 1-41=
I need to know everything about lg fortune network unlocking or sim network unlock pin. Where, How, Which is best solution to do it & why it worth
i want anwer of this all questions​
math is annoying I need help​
How are joules measured ?
Which type of precautionary statement on a label is to be developed further by theUnited Nations in the future?a. Preventionb. Responsec. Storaged. Disposal
What is -1 11/12 in it’s simplest form
What basic principle of today’s law was unfamiliar to citizens of scientific Rome ? A: Judges study the law has and come to fair decisions B: people of all soc
pls help fast 98 points again point spree)) What is the mean absolute deviation for 9, 7, 6, 8, 7, and 5? 1 2 6 7