Codey and CodeNection
https://www.hackerrank.com/contests/codenection-2024-preliminary-round-closed-category/challenges/cn24-1
Question
Codey loves creating patterns with letters! Codey wants to print a right-aligned pattern consisting of n rows using the letters from the word CODENECTION. Help Codey to build this unique pattern.
Input Format
The first line contains an integer n, which represents the number of rows of the pattern.
Constraints
Output Format
Output the right-aligned pattern.
Sample Inputs:
Last updated