Mobi Groups
Download Free Apps & Games @ PHONEKY.com

PHP - Topics
Create Your Own App Store

* PHP > Topics


Subject: c++ programming
Replies: 1 Views: 1855

k4tr1n4 8/14/2006 - 2:29:18
Hellow to all.Mmmh please help me to my assignment.Here's the question.Build a program.that could post odd and even number 1 to 100.And after that it will get the total of even.And odd number.thanks in advance *

casa69 8/21/2006 - 10:30:36
If u know how mod works, mod numbers from 1 to 100 with 2. Use an if statement to check the result. If the result is 0, then the number is even. Otherwise it is odd. Hope this helps. *


* Reply
* PHP Forum


Search:
topics replies


* PHP

Create Your Own App Store

topTop
groupsGroups
mainProdigits

Create Your Own App Store