Last change
on this file since 75 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
364 bytes
|
Rev | Line | |
---|
[2] | 1 | /* Author : Rick van der Zwet
|
---|
| 2 | * S-number : 0433373
|
---|
| 3 | * Version : $Id: myprog.c 214 2007-09-05 13:29:25Z rick $
|
---|
| 4 | * Copyright : FreeBSD Licence
|
---|
| 5 | */
|
---|
| 6 | int A[20], B[20], C, i;
|
---|
| 7 |
|
---|
| 8 | main()
|
---|
| 9 | {
|
---|
| 10 | for (i=1; i<=19; i++)
|
---|
| 11 | {
|
---|
| 12 | B[i] = i;
|
---|
| 13 | }
|
---|
| 14 | C = 42;
|
---|
| 15 | for (i=1; i<=19; i++)
|
---|
| 16 | {
|
---|
| 17 | A[i] = B[i-1] + C;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | printf("%i %i %i", A[19], B[19], i);
|
---|
| 21 |
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.