B4Coder
0%
LessonAbout 6 min

Chapter 2 · Lesson 4 of 5

04. Neat output with printf

printf fills a pattern with values: %s for text, %d for whole numbers, %.2f for two decimal places and %n for a new line.

Opening the lesson…