Algorithm notes section 2.4 Codeup exercises

1. Add & before scanf variable; printf is not used

2. The output format is %md, which represents the width of the output m bits, right-justified less than m bits, and the high bits are filled with spaces. (E)

3. Question G: Example 5-7 Find the approximate value of pi

I feel that my thinking has been wrong, just look at other people’s

4. The -6th power of 10 means: 1e-6

Guess you like

Origin blog.csdn.net/sunshine04/article/details/108655636