Question
I have a program of printing pattern i have its code can you find an error because its pattern is accurate under 10 value if
I have a program of printing pattern i have its code can you find an error because its pattern is accurate under 10 value if this value (no. of rows) increased then this shape is not printing accurate.
How to control it by using for loop in c++
int row; cout>row;
for(int i = 1; i
for(int space = 0; space
for(int j = i; j >0 ; j--) { cout
}
for(int j=2; j
cout Enter the number of rows : 13 13212432123454321234565432123456765432123456787654321234567898765432123456789109876543212345678910111098765432123456789101112111098765432123456789101112131211109876543212345678910111213 Process exited after 3.392 seconds wit Press any key to continue .. : =
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started