- 4
Help
Write a C program that prints the following pattern up to 10 lines. Use nested loop. 0 11 222 3333 44444 555555 6666666 777777777 888888888 9999999999
14 Antworten
+ 2
Hi! Can you show us your efforts?
+ 2
Rawan, thanks for the honesty. 😋
Now scurry off and make one to show us! 🙂
+ 2
Once check this out.
#include <stdio.h>
int main() {
int i,j;
for(i=1;i<=10;i++){
for(j=0;j<i;j++)
printf("%d",i-1);
printf("\n");
}
return 0;
}
+ 2
#include <stdio.h>
int main() {
int i,j;
for(i=0;i<=9;i++){
for(j=0;j<=i;j++){
printf("%d",i);
}
printf ("\n");
}
return 0;
}
+ 1
then it is unlikely that someone will help you with this... sit and hope for a miracle
+ 1
ok ok , I will try ... 🌝
+ 1
Hey guys i did it ✔️🕺🏻, thank you
+ 1
we were happy to help you!
+ 1
oh asha thank you so much 💘💘
0
Hi, there are no any efforts 🌝😂
0
Pattern? Is it joke?))
0
Hello
0
It's my pleasure to help you 🙂🙂
- 2
:)💕