Print V Pattern as given in Sample Input.


Description

You need to print pattern as given in Sample Input.
Note:- Make sure to check for spaces. In output, there is no spaces at end of each line.

Input

First line contains N. (1<= N <= 10)

Output

Print pattern for N.

Sample Input 1 

1

Sample Output 1

\/

Sample Input 2 

4

Sample Output 2

\      /
 \    /
  \  /
   \/

Hint

Self Explanatory

Comments

Popular posts from this blog

Multer file upload and delete - Nodejs, Mongodb, Express

Money Management

Sub array quest IX