Computer Science, asked by aryan418436, 1 month ago

write an algorithm to find the difference of 2 numbers for computer chapter 9 for class 7​

Answers

Answered by lestonrodrigues0
0

Answer:

INPUT num1, num2

IF num1 > num2 THEN

PRINT num1

ELSE IF num2 > num1 THEN

PRINT num2

END IF

Explanation:

INPUT num1, num2

IF num1 > num2 THEN

PRINT num1

ELSE IF num2 > num1 THEN

PRINT num2

END IF

Similar questions