sir what exactly is problem in my code ,it is printing fine for n=5 but othewise not pls helplink to code is https://ide.codingblocks.com/s/72852
Hollow rhombus problem in code
@Tanna hey the simplest approach of this code
there are two nested loop from
i=1 to n
and j=1 to n-i
there will be n-i spaces
if i==1
and i==n
j==1
and j==n
then cout “stars” else spaces