Question d’entretien chez Zoho

3. Program to form a diamond pattern with given number: suppose 7