wap to find maximum numbers between two numbers with use of if statement
Answers
Answered by
1
Answer:
Logic to find minimum or maximum between two numbers
Input two numbers from user. Store it in some variable say num1 and num2 .
Check if(num1 > num2) then print num1 is maximum.
Check if(num2 > num1) then print num2 is maximum.
Check if(num1 == num2) then both the numbers are equal.
Answered by
0
Answer:
hhgfdvvbjjkkbvc
Similar questions