home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1995 December
/
SOFM_Dec1995.bin
/
pc
/
dos
/
gi
/
ctutor
/
intarray.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-31
|
310b
|
14 lines
/* Chapter 7 - Program 3 */
main()
{
int values[12];
int index;
for (index = 0;index < 12;index++)
values[index] = 2 * (index + 4);
for (index = 0;index < 12;index++)
printf("The value at index = %2d is %3d\n",index,values[index]);
}