Print of the String "Welcome". Matrix size must be N X M. ( N is an odd natural number, and M is 3 times N.).
The design should have 'WELCOME' written in the center. The design pattern should only use . character.
Input 1
5 WELCOME
Output 1
N = 5 M = 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W E L C O M E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input 2
3 WELCOME
Output 2
N = 3 M = 9 . . . . . . . . . . W E L C O M E . . . . . . . . . .