C language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C language

Help please #include <stdio.h> void main() {​int i; ​for(i=1; i<=6; i++) ​switch(i%3) ​{​case 0:printf(“!”);break; ​case 1:printf("@");break;​ ​case 2:printf(“#”);break; default:printf("\n"); ​} }

25th May 2022, 12:54 PM
1 Answer
+ 2
Go to Code section, click +, select the programming language, insert your code and save. Then come back to the thread, click +, Insert Code, sort for My Code Bits, select your code. 1.) Remove the invisible characters or just re-type the code. 2.) Format you code properly. 3.) Fix the incorrect "" in the 1st and 3rd printf
25th May 2022, 1:10 PM
Lisa
Lisa - avatar