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

What do these two changes have in common? your breath becoming visible on a cold day building a tower out of magnetic blocks
A ______ always has a numerator of 1 A. fraction B.Simplest form C. unit fraction (answer asap) please and ty!
1/5 x 1/2 * mark you brainlyest
What is the answer to this ?
Please helppppppppppp is it correct?
In what state is carbon dioxide in the atmosphere
By showing a thorough understanding of your survey results, organizing your content in a clear manner, and generally showing you are prepared for this presentat
The surface area A of a sphere is a function of its radius . The formula below describes this relationship. A) = 42 What is the value of A(7), the surface area
(x^2 + 36x – 42) ÷ 6x
What is one way that the body responds to sudden stress? O Insulin levels in the blood rise sharply. O Body temperature begins dropping. O Adrenaline is release