Get integer from user Read and save integer as num While num !=-99 Set odd_count=0 Set even_count=0 If num%2=0 Print "the number is even" increment even_count Else IF num%2!=0 Print "the number is odd" increment odd_count Else print "the number is 0" End IF