16 lines
218 B
C
16 lines
218 B
C
|
#include <stdio.h>
|
||
|
|
||
|
#define ARRAY_LEN 90
|
||
|
|
||
|
int main() {
|
||
|
int i;
|
||
|
float arr[ARRAY_LEN];
|
||
|
|
||
|
for (i = 0; i < ARRAY_LEN; i++) {
|
||
|
arr[i] = (float)i;
|
||
|
}
|
||
|
for (i = 0; i < ARRAY_LEN; i++) {
|
||
|
printf("%d %f\n", i, arr[i]);
|
||
|
}
|
||
|
}
|