1)write an algorithm to find the area of a rectangular using pseudocode
2)write an algorithm to find the mean of 5 numbers.
3)write an algorithm to find wether a given number is even or odd
1)
input: x,y \\width, length of a rectangular
output: S \\ area of a rectangular
2)
input: \\ 5 numbers
output: m \\ the mean of 5 numbers
3)
input: x \\ number
if ( ) \\ check whether a given number is divisible by 2
then otput: x is even
else output: x is odd
Comments