38 lines
340 B
Markdown
38 lines
340 B
Markdown
# 1.
|
|
a. `86,1040`
|
|
b. `3.02530e+01`
|
|
c. `83.1620`
|
|
d. `1e-06 `
|
|
|
|
# 2.
|
|
```c
|
|
float x = 0.12345;
|
|
// a
|
|
printf("%-8.1e", x);
|
|
// b
|
|
printf("%10.6e", x);
|
|
// c
|
|
printf("%8.3f", x);
|
|
// d
|
|
printf("%-6.0f", x);
|
|
```
|
|
|
|
# 3.
|
|
a. Equivalent
|
|
b. Equivalent
|
|
c. Equivalent
|
|
d. Equivalent
|
|
|
|
# 4.
|
|
`i`: `10`
|
|
`x`: `0.3f`
|
|
`j`: `5`
|
|
|
|
# 5.
|
|
`x`: `12.3f`
|
|
`i`: `45`
|
|
`f`: `0.6f`
|
|
|
|
|
|
|