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

Why did the Winchester’s company become so successful in the late 1800’s? What was happening in America at that time,
multiply: (sqrt10 +2 sqrt8)(sqrt10-2 sqrt8)
What policy did Congress adopt that was proposed by John J. Crittenden of Kentucky? What was required of northern military commanders?
Bookmark question for later Zoey is the CEO of a corporation she organized herself, and the corporation has 15 shareholders. The company operates in several sta
1. Where is Seuss Landing located? * 2. What was Dr. Seuss' real name? * 3. Who must approve anything made from Dr. Seuss' stories? * 4. What actor starred as t
Find the product of (x − 3)2
Why is the median listed at 55 when none of the data points is 55?
how does the nonpolar nature of lipids contribute to their insulating quality
Describe the differences seen in the properties of Boron and Nitrogen.​
The reproductive glands in the body are also known as the gonads. Please select the best answer from the choices provided T F