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

just no time need help on whatever question you wanna answer and explain please im begging
What are the major structures of the bone and their respective subcategories?
Joe borrowed $6,000 from the bank at a rate of 7% simple interest per year. How much interest did he pay in 6 years? In 6 years, Joe pays $ ___________ in inter
14. Which of the following can work against the down-slope pull of gravity? A. Gully erosion B. Glaciers C. Rill erosion D. Wind erosion
A materials scientist has 72 pounds of a liquid. She uses most of the liquid to fill 9 beakers. The remaning liquid fills 1/7 of a 10th beaker. How many pounds
What does the equal
From each corner of a square of tin, 12 cm on a side, small squares of side x are removed and the edges are turned up to form an open box. Express the volume V
simplify 5x^3+7x^2+6x^3-8x
You answer you get points lol please answer
Choose the meaning that best matches the word in parentheses . After disturbing the wasp's nest, the girl began (flailing) her arms in an attempt to swat away t