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

Geoff counts the number of oscillations of a simple pendulum at a location where the acceleration due to gravity is 9.80 m/s2, and finds that it takes 25.0 s fo
what is the best definition of a "Feminist"
In a mixed market economic system who determines what products should be produced
Edna decided to purchase a $15,000 MSRP vehicle at a 5% interest rate for 3 years. The dealership offered her a $1500 cash-back incentive, which she accepted. I
Place the indicated product in the proper location on the grid. (3 - c 2d )(4 - 4c 2d )
can someone please help me with this?
In a uniform electric field what factors does the electrical potential energy depend on
Which is not a respiratory infection? asthma influenza bronchitis pneumonia
New farmers in the early New England colonies faced which of the following challenges?
"So my message is simple. It is time to stop rewarding businesses that ship jobs overseas, and start rewarding companies that create jobs right here in America.