Anybody can tell me the means of "%3.2f"

14th Dec 2019, 1:43 PM
Hunter Rokko
Hunter Rokko - avatar
1 Answer
+ 3
The double quoting is used for define the start and the end of strings "text" Using & in front of a variable allows you to get its location and give that to scanf instead of the value of the variable. The f is for float. Variables of type float store numbers with decimal places.
14th Dec 2019, 2:12 PM
Ikan - avatar