- 3
Input ten numbers and find total number of even and odd using goto statement
using goto or for loop
2 Answers
+ 8
declare odd counter
declare even counter
declare input variable
for loop which runs ten times
input to input variable.
if input variable is odd
increment odd counter
else
increment even counter