akshitagit / akshitagit/CPP

Can you solve this pattern??

Abierto
#13 7 comentarios 0 reacciones 0 asignados Ver en GitHub
Dailycode hacktoberfest moderate
Lenguaje dominante
C++
Estrellas
504
Forks
436
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Take N as input. For a value of N=5, we wish to draw the following pattern :

5 4 3 2 1 0 1 2 3 4 5
4 3 2 1 0 1 2 3 4
3 2 1 0 1 2 3
2 1 0 1 2
1 0 1
0
1 0 1
2 1 0 1 2
3 2 1 0 1 2 3
4 3 2 1 0 1 2 3 4
5 4 3 2 1 0 1 2 3 4 5

Input Format

Take N as input.
Constraints

N <= 20
Output Format

Pattern should be printed with a space between every two values.
Sample Input

5

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.