The code that produces the error of the topic is bold.
posted 5 years ago
Your problem is with the percent symbol, "%", as the printf method thinks that it's a format specifier. To use it literally as a percent symbol, you'll need to use two of them in a row. So change this: