Doing my part for the flame war
This commit is contained in:
parent
8e2f5c1ff0
commit
8424a6836a
@ -6,18 +6,18 @@
|
|||||||
int main(void) {
|
int main(void) {
|
||||||
// Decralations
|
// Decralations
|
||||||
double A[5] = {
|
double A[5] = {
|
||||||
[0] = 9.0,
|
[0] = 9.0,
|
||||||
[1] = 2.9,
|
[1] = 2.9,
|
||||||
[4] = 3.E+25,
|
[4] = 3.E+25,
|
||||||
[3] = .00007,
|
[3] = .00007,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Doing some work
|
// Doing some work
|
||||||
for (size_t i = 0; i < 5; ++i) {
|
for (size_t i = 0; i < 5; ++i) {
|
||||||
printf("element %zu is %g, \tits square is %g\n",
|
printf("element %zu is %g, \tits square is %g\n",
|
||||||
i,
|
i,
|
||||||
A[i],
|
A[i],
|
||||||
A[i]*A[i]);
|
A[i]*A[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user