Computer Science, asked by ranadanishmessi, 10 months ago

Make the algorithm to find largest of 2 numbers. I said make!

Answers

Answered by Rahul9048
1

you can easily find largest number by following logic

1. Input two numbers from user. Store it in some variable say num1 and num2 .

2. Check if(num1 > num2) then print num1 is maximum.

3. Check if(num2 > num1) then print num2 is maximum.

4. Check if(num1 == num2) then both the numbers are equal.

Answered by monikadevi84205
0

Explanation:

Mark as brainliest answer

Attachments:
Similar questions