Skip to content

rishik-bot/Pattern-printing-Diamond-in-a-rectangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Pattern-printing-Diamond-in-a-rectangle

Given a positive integer 'n' less than or equal to 26, we are required to print a pattern

Sample Input: 5

Sample Output : --------e-------- ------e-d-e------ ----e-d-c-d-e---- --e-d-c-b-c-d-e-- e-d-c-b-a-b-c-d-e --e-d-c-b-c-d-e-- ----e-d-c-d-e---- ------e-d-e------ --------e--------

Sample Input : 3

Sample Output : ----c---- --c-b-c-- c-b-a-b-c --c-b-c-- ----c----

About

Given a positive integer 'n' less than or equal to 26, you are required to print a pattern as further explained

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages