WAP to input three numbers from the user and print the smallest number among them.
Guys iska answer kya hoga. Mein kab se try kar rahi huin but nahi kar pari huin.
Answers
Answered by
1
Explanation:
Program Explanation
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.
Similar questions
Environmental Sciences,
29 days ago
Science,
1 month ago
English,
1 month ago
Physics,
9 months ago
Environmental Sciences,
9 months ago