Q. 1 Write algorithm for the following :

a) to check whether an entered number is odd / even.

b) to calculate sum of three numbers.