Friday, May 28, 2004

Naso #1: A Count

Bamidbar 4:22-23

int sum = 0;
for(int i = 0; i < SonsOfGershon.Length; i++)
if (30 >= SonsOfGershon[i] && SonsOfGershon[i] <= 50)
sum++;

cout << sum << endl;

2 comments:

Josh M. said...

Is ad ben chamishim shana ad v'ad bichlal or ad v'lo ad bichlal? I would think the latter.

Anonymous said...

c++ is such an ugly language.

LinkWithin

Blog Widget by LinkWithin