Anonymous

Pseudocode:determine Odd Or Even Number?

3

3 Answers

Anonymous Profile
Anonymous answered
Start
Integer Number,S
Input Number
S=Number%2
if(S==0)
output "Even"
else
output "Odd"
end if
stop
garima sharma Profile
garima sharma answered
When a number is divided by 2 and get zero in remaining then that number is even number and when we get some value in remaining then it is called odd numbers.
onn ahmed onn Profile
onn ahmed onn answered
A NUmber divided by 2 having remaining zero ( 0 ) is an even number & a number divided by 2 and having remaining 1 is called odd numbers .

Answer Question

Anonymous