STEP 1, Start, STEP 2, Input two numbers X and Y, STEP 3, Check whether X=Y or not. If true, go to step 4, else go to step 5, STEP 4, Print “Both numbers are equal” and go to step 8, STEP 5, Compare X and Y. If X is greater than Y go to step 6 else go to step 7, STEP 6, Print “X is greater than Y”. Go to step 8., STEP 7, Print “Y is greater than X”. Go to step 8, STEP 8, Stop

ALGORITHM TO COMPARE TWO NUMBERS

Clasament

Stilul vizual

Opţiuni

Comutare șablon

Restaurare activitate salvată automat: ?