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

50 Types of Communication Answer the following questions. 1. The grouping of gestures, facial expressions, and postures into nonverbal statements is known as
Lacy draws a diamond from a standard deck of 52 cards. Without replacing the first card, she then proceeds to draw a second card and gets a spade. Are these eve
9:6 and 4:3 are they equivalent?
how do I make my copper wire produce a magnetic field around it?
Match the description to the form of water that is described.
write the equation for the decay of kr-85
isotropic optical medium?​
Read the excerpt from act 2 of A Doll's House. Nora: [putting her arms round her neck] Dear old Anne, you were a good mother to me when I was little. Nurse: Lit
This is a multiple choice question. Not sure how to solve, mainly because my textbook confuses me. Would appreciate help!! "Mary Ward recently leased a new conv
Please help ASAP and help me find what the value of x is