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

what do solar winds and the earths magnetic field create
guys please help me with this question, I’d appreciate it a lot
WILL MARK BRAINLIEST! The area of a rectangle is equal to its length times its width. If the area of a rectangle is 14x + 42 square feet, which option(s) could
a line has a slope of 1 and 1 and a y-intercept of -15. what is its equation in slope intercept 6​
How did the Catholic Church use religion in the colonies in the Americas? What are some of the traditions that developed in Mexico?
Graph the following features: Slope = 1/3 Y-intercept = 3
in the story of the lazy boy what is the lesson
Suppose that shoe sizes of American women have a bell shaped distribution with a mean of and a standard deviation of Using the empirical rule what percentage of
Which of the following nations had a command economy? A. The United States B. Britain C. The Soviet Union D. France E. Belgium
Can someone help me with this one. You have to pick up three so is it ABC or D pick three of those make sure you’re right.