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

in act II of hamlet, what does the queen believe caused Hamlet to go insane
Conclusions based on evidence about events that have already occurred are A. hypotheses. B. observations. C. inferences.
why was john hammond important to american music
process by which water vapor changes to a liquid Evaporation Condensation Convection radiation
Which two numbers add up to 27 and multiply to -160?
If a company fails to pay its debts suit can be filed against the- - Options a. Directors b. Members c. Officers d. Company
A well-written paragraph has facts that support the main idea. a. True b. False
I copied a URL for "Fakebook", ( I made a page as Daisy Buchanan) and i copied some other texts but now i do not know how to get the list of things i copied. I
A football team lost 4 yards on each of 2 plays, gained 14 yards on the third play, and lost 5 yards on the forth play. Write and find the value of an integer e
16% of 150 is 24. how would I put that in an open proportion.