home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C by Discovery (4th Edition)
/
C_By_Discovery_4th_Edition.tar
/
C_By_Discovery_4th_Edition
/
_DISK_
/
ch2
/
epp14.c
< prev
next >
Wrap
C/C++ Source or Header
|
2005-06-16
|
508b
|
23 lines
/* epp14.c */
/* Include Files (/
#include <stdio.h>
int main( void )
{
int i;
i = 1;
printf ("counting\n;
while (i < 100) {
int j = 1;
printf ("%4d", i);
if !(i++ % 16) {
printf ("\n");
j++
else printf (" ");
}
printf("\nThe number of lines printed was %d.\n", j);
return 0;
}