picoc/test/05_array.c
zik.saleeba 7c9b3c1c8a Added tests for "for" and arrays
git-svn-id: http://picoc.googlecode.com/svn/trunk@70 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-02-10 11:18:50 +00:00

13 lines
172 B
C

int Count;
int Array[10];
for (Count = 0; Count < 10; Count++)
{
Array[Count] = Count * Count;
}
for (Count = 0; Count < 10; Count++)
{
printint(Array[Count]);
}