Sometimes we come across elementary C++ programming tasks but which require you to tax your brain because of the logic involved
I came across a question which asked the user to write a c++ program to print the pattern above for any value of N (where N are the number of rows)
1234554321
1234**4321
123****321
12******21
1********1
The solution to the problem can
Continue reading C++ printing out a specific pattern

Comments