Ok sir Thnak's and could you please give some examples to practise in this pattern??
User 11745560
Posts
-
Doubt -
Doubtyes sir the actual result is this #include #include int main() { int num=5; for(int r1=1;r1<=num;r1+=2) { for(int c1=1;c1<=r1;c1++) { printf("%d",r1); } for(int s1=r1;s1=1;r2-=2) { for(int c2=1;c2<=r2;c2++) { printf("%d",r2); } for(int s1=r2;s1
-
Doubt* * ** ** ****** ** ** * *
-
DoubtSir Thanks for your advice Finally done!!! but check it once and report me back if any problem is there in coding #include #include int main() { int num=3; for(int r1=1;r1<=num;r1++) { for(int c1=1;c1<=r1;c1++) { printf("*"); } for(int s1=r1;s1=1;r2--) { for(int c2=1;c2<=r2;c2++) { printf("*"); } for(int s1=r2;s1
-
Doubt#include #include int main() { int num=3; for(int r1=1;r1<=num;r1++) { for(int c1=1;c1<=r1;c1++) { printf("*"); } for(int s1=r1;s1=1;r2--) { for(int c2=1;c2<=r2;c2++) { printf("*"); } for(int s1=r2;s1
-
Doubt#include #include int main() { int num=3; for(int r1=1;r1<=num;r1++) { for(int c1=1;c1<=r1;c1++) { printf("*"); } for(int s1=r1;s1=1;r2--) { for(int c2=1;c2<=r2;c2++) { printf("*"); } for(int s1=r2;s1
-
DoubtHi sir need clear a explanation for this problem (n = 3)??wap for this 1###1 33#33 55555 33#33 1###1 at the place of (#) should come spaces