Loops – Geometry – Problem #5
IIT Kharagpur CS10001 / CS11001 Programming and Data Structures Lab Question Archive
Difficulty: Medium
Problem Statement
Write a program that reads an integer N and prints a (2N + 1)-by-(2N + 1) diamond like the one below. . . . . * . . . . . . . * * * . . . . . * * * * * . . . * * * * * * * . * * * * * * * * * . * * * * * * * . . . * * * * * . . . . . * * * . . . . . . . * . . . .