determining how many odd numbers in 100

hey guys, can anyone help me?.
i need a program that will count how many odd numbers there is from 1-100
using only ifelse statement or for loop..
Why don't you have a go and post us what you have. Then we can show you where you made any mistakes.
Topic archived. No new replies allowed.