home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
GENCSRC.ZIP
/
INTARRAY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1987-11-21
|
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]);
}