+ 2

What the problem in this program:__)

https://code.sololearn.com/cCHQJYDFaH4g/?ref=app

3rd Jun 2023, 11:33 AM
{{{✨ Drishti}}}
{{{✨ Drishti}}} - avatar
9 Answers
+ 8
Yatharth Gupta Don't suggest Chat Gpt when you are beginner otherwise you will never learn and can't understand what Chat Gpt said.
3rd Jun 2023, 2:22 PM
A͢J
A͢J - avatar
+ 7
Line 9: – Missing ";" at the end of the line. – Also, remove the blank space between printf and () – print the number, e.g. with "%d"
3rd Jun 2023, 11:55 AM
Lisa
Lisa - avatar
+ 5
Line 9: There needs to be a "," between "%d" and the variable, similar to line 7
3rd Jun 2023, 11:59 AM
Lisa
Lisa - avatar
+ 5
{{{✨ Drishti}}} I think line number 9 you miss ',' after '%d' and if you want to print the statement in next line then use '\n'
3rd Jun 2023, 12:15 PM
Sakshi
Sakshi - avatar
+ 5
Sakshi (Less Active) Lisa thanks sis issue solved 😀❣️❣️❣️
3rd Jun 2023, 12:32 PM
{{{✨ Drishti}}}
{{{✨ Drishti}}} - avatar
+ 4
{{{✨ Drishti}}} welcome sis 👍
3rd Jun 2023, 12:37 PM
Sakshi
Sakshi - avatar
+ 3
Lisa sis I done but error is not cleared 😭
3rd Jun 2023, 11:57 AM
{{{✨ Drishti}}}
{{{✨ Drishti}}} - avatar
+ 2
You can choose chat gpt
3rd Jun 2023, 1:41 PM
Yatharth Gupta
Yatharth Gupta - avatar
+ 2
Use \n then the output will be printed in the next line 👍🏻
5th Jun 2023, 7:54 AM
Sagar