Start
set num = 0
display " enter the number"
read num
if ( remainder (num / 2 ) = 0 )
display "yes"
else
display "no"
end
If the output of the above algorithm is "yes", it indicates that num is
1
Even number
2
Amstrong number
3
Odd number
4
Prime number