LessonAbout 6 minLesson languageEnglishதமிழ் (Tamil)हिन्दी (Hindi)മലയാളം (Malayalam)తెలుగు (Telugu)ಕನ್ನಡ (Kannada)বাংলা (Bengali)मराठी (Marathi)ગુજરાતી (Gujarati)ਪੰਜਾਬੀ (Punjabi)Chapter 2 · Lesson 4 of 504. Neat output with printfprintf fills a pattern with values: %s for text, %d for whole numbers, %.2f for two decimal places and %n for a new line.