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

Your most common strategy for handling major disagreements with other people has been to
If you paste Word document text into an Excel spreadsheet, the paste options allow you to keep source formatting or A. Use a combination of formatting and linki
Victoria Hernandez is interested in volunteering at a local animal shelter for the summer and wants to know if the shelter has any positions available. Which ge
Is a melting ice a physical change or a chemical change
Solve for x in the equation x^2-8x+41=0
One more than four times a number
the sum of two numbers is 64. One number is 8 more than the other. What are the two numbers?
What happens to the pressure in a tire if air is slowly leaking out of the tire? explain your answer?
What is one example of prose? A. The lyrics of a song by the Beatles B. An article in Newsweek magazine C. A poem written by Walt Whitman D. A pain
Can somebody find the slope for me ?