Write a C Program to find the smallest of three given numbers. Give the output
also.
Answers
Answered by
0
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.
Answered by
1
Answer:
please mark me as brainlist and follow me
Attachments:
Similar questions
Math,
3 months ago
Math,
3 months ago
Social Sciences,
6 months ago
Math,
6 months ago
Science,
11 months ago
Social Sciences,
11 months ago
Music,
11 months ago