0

how can I separate lines in c language? Can anyone help me?

include <stdio.h> int main() { { printf("HELLO, WHATS YOUR NAME? "); } { printf("MY NAME IS JOE. "); } { printf("JOE WHO?"); } { printf("JOE MAMA "); } { printf(" (didnt laugh)how old are you? "); } { printf ("42 "); } { printf (" sorry,only people under 8 can join us. so, never gonna give you up never gonna let you down"); } return 0; }

9th Aug 2022, 7:03 AM
Samin Iqbal
Samin Iqbal - avatar
2 Antworten
+ 1
Add \n before the last double quote in every printf line.
9th Aug 2022, 7:17 AM
Jan
Jan - avatar
0
Thanks
9th Aug 2022, 7:21 AM
Samin Iqbal
Samin Iqbal - avatar