Hello there,
Well I'm not sure why you need two void functions to simply tell an odd number from even one, any way you might want to try this algorithm :
for i<3
function InputNumber(x)
y=x%2
i=i-1;
if y==1 then
return true;
else
return false ;
Hope that will help...
Leave a comment: