+ 1

What mistakes have been done by me ? Please help

/* C program for nested loop to print star */ #include<stdio.h> int main() { int i,j; i=0; while (i<3) { j=0; while (j<5) { printf ("*"); j++ } printf ("\n"); i++ } return 0; }

4th Nov 2022, 2:33 PM
Dipanita Saha
Dipanita Saha - avatar
2 Respuestas
+ 4
Missing semicolon after i++ and j++
4th Nov 2022, 2:40 PM
Ipang
+ 1
Thank you so much for your help
4th Nov 2022, 2:42 PM
Dipanita Saha
Dipanita Saha - avatar