notes/education/software development/ECE1400/Chapter 3 Exercises.md
2024-09-11 12:11:34 -06:00

19 lines
200 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.1f", x);
// b
printf("%10.6f", x);
// c
printf("%8.3f", x);
// d
printf("%-6.0g", x);
```
c.