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

Math the terms with the definitions.A) Two popular forms of music from the Dominican Republic.B) President Obama was the first U.S. President to visit this coun
find the radius and diameter of a circle whose circumference is 60pi meters
What are the solutions to m^2-9=0?
If a-b= 3 and[tex] a^{2}-b^{2} [/tex]=33, find the value of a+b.
Find the perimeter of triangle PQR. Round your answer to the nearest tenth. Triangle PQR is shown. P is at negative 2, 1. Q is at 6, 1. R is at 4, negative 3. 1
The smooth ER differs from the rough ER in that: A. The rough ER is the site of mRNA transcription, smooth ER is the site of protein translation. B. The r
find the y=a(x-h)^2+k of 5=(2x^2-8x)-y
Graph the six terms of a finite sequence where a1= -10 and d=3
PICTURE INCLUDED HELLLPPP ASAP
How do I solve this geometry proof?