Matlab Program to Print Pattern

Write a Matlab program to Print or generate a pattern for a given value of n like this:-

Input  n=5

output 1

            22

            333

            4444

            55555

Soln





No comments:

Powered by Blogger.