31 lines
296 B
Markdown
31 lines
296 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`: `5.0`
|
|
`j`: `6`
|
|
|