Facebook
From Gruff Gibbon, 3 Years ago, written in Plain Text.
This paste is a reply to Re: Re: Re: Re: Re: Untitled from Diminutive Tapir - go back
Embed
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