+ 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; }
2 Réponses
+ 4
Missing semicolon after i++ and j++
+ 1
Thank you so much for your help