Pascal

Pascal

Postby kate » Fri Jul 04, 2008 11:23 am

Develop a program which:
a) prints all even numbers from 1 to 100 and then calculates their sum;
b) prints all odd numbers from 1 to 100 and then calculates their sum.
kate
 
Posts: 91
Joined: Mon Apr 09, 2007 3:58 pm
Reputation: 2

Return to Programming and Algorithms



Who is online

Users browsing this forum: No registered users and 2 guests