Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedI 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

LO 1-3 What the costs of communication are.

Answered: 1 week ago