0
How can i do pattern printing in C pls send the code someone
By using '*'
5 odpowiedzi
0
https://code.sololearn.com/c3oSxZ9dQ91D/#c
#include <stdio.h>
int main() {
int i,j;
for (i=0; i<5; i++) {
for (j=0; j<=i; j++) {
printf("*");
}
printf("\n");
}
return 0;
}
+ 10
https://play.google.com/store/apps/details?id=com.sitseducators.cpatternprogramsfree
Must check this app.. if you want to learn printing patterns in c
0
Give us an example of input and output
0
*
**
***
****
*****
The pattern looks kinda this way
Using for loop
0
Thanks man👍