Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Showing posts with label Diamond pattern. Show all posts
Showing posts with label Diamond pattern. Show all posts

Tuesday, 14 May 2019

Diamond pattern

Question:

CASE 1:
Write a program to print Diamond pattern printing using stars

CASE 2:
Write a program to print Diamond pattern printing using numbers


Solution:

CASE 1:


CASE 2: