I only need help with 1 of the programs now. It says to list all the postive integers less than 400 that are divisible by 3
Rikardsen02754 0 Newbie Poster
Recommended Answers
Jump to PostSo, what's your question?
Jump to Postif ( number % 3 == 0 ) you get your number divisible by 3. Oviously you need to increment your number, you need to check that is smaller then 400 and then capture it somewhere
Simple like that
All 5 Replies
stymiee 111 He's No Good To Me Dead Team Colleague
Rikardsen02754 0 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Rikardsen02754 0 Newbie Poster
fraogongi 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.