Saved Bookmarks
| 1. |
Write a program to input three numbers and find maximum among them. |
|
Answer» Answer: Input three numbers from USER. STORE it in some variable say NUM1 , num2 and num3 . COMPARE first two numbers i.e. num1 > num2 . If the statement is true then num2 is surely not max value. ... If the statement num1 > num2 is false . Which INDICATES that num1 is not max. |
|