add

CF

Pattern Printing – 005

Given an integer N as the input, the program must print 2N lines pattern output as described in the Example Input/Output given below. Input…