Computer Science, asked by ranadanishmessi, 9 months ago

Make algorithm to find greatest of 2 numbers

Answers

Answered by akm26381
1

Explanation:

Step 1: Start

Step 2: Declare variables a,b and c.

Step 3: Read variables a,b and c.

Step 4: If a>b

If a>c

Display a is the largest number.

Else

Display c is the largest number.

Else

If b>c

Display b is the largest number.

Else

Display c is the greatest number.

Step 5: Stop

Similar questions