Pseudocode To Check Which Number is Greater
Pseudocode To Check Which Number is Greater
1. Print "Please Enter the value of the First number"
2. input ← num1
3. Print "Please Enter the value of the Second number"
4. input ← num2
5. If num1 == to num2
6. Print "Both numbers are equal"
7. Else If num1 > num 2
8. Print "The first number is greater"
9. Else
10. Print "The second number is greater"
11. End
Comments
Post a Comment