home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
g
/
gusmod11.zip
/
GEN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-13
|
405b
|
25 lines
/* Written by Yuri Lee */
#include <stdio.h>
main()
{
int i;
unsigned l,k;
l = 10;
for(i=100;i<1000;i++) {
if( l == 10 ) {
l = 0;
printf("\tDW\t");
}
k = (unsigned)( 83245.25581 / i );
if( l == 9 ) {
printf("%4u\n",k);
} else {
printf("%4u, ",k);
}
l++;
}
}