/home/toolbox/public_html/solutions/132/13216/aa.c
1 #include <stdio.h>
2 #include <string.h>
3 #include <sys/types.h>
4 #include <sys/stat.h>
5 #include <fcntl.h>
6 #include <stdlib.h>
7 #include <math.h>
8 #include <stdint.h>
9
10 #define TRUE (1 == 1)
11 #define FALSE (1 != 1)
12
13 #define DEBUG if (FALSE)
14
15 /* fprintf(stderr, "functionName: message", varslist); */
16
17 /*
18 * Author: Isaac Traxler
19 * Date:
20 * Purpose: fun
21 * Problem:
22 */
23
24 /*
25 * This template reads data a specified number of times.
26 */
27
28
29 void dump()
30 {
31 /* FUNCTION dump */
32 } /* FUNCTION dump */
33
34 void getInput()
35 {
36 /* FUNCTION getInput */
37 } /* FUNCTION getInput */
38
39 void process()
40 {
41 /* FUNCTION process */
42 int i;
43 int rem = 1;
44
45 for (i=1; 1000>i; i++)
46 {
47 /* test cases */
48 rem = (rem * 66) % 100;
49 printf("%5d: %d6\n", i, (rem / 10) ) ;
50 } /* test cases */
51 } /* FUNCTION process */
52
53 int main()
54 {
55 /* main */
56 process();
57 return EXIT_SUCCESS;
58 } /* main */
59
60