i am not able to code forthe downward swastika.
Ganesha pattern hackers block
Hello,
I am not allowed to send you the code.
But, i can help you to correct your code.
Try to write a code on Coding Blocks IDE and then share it’s link with me.
Hint: Divide the entire patterns into multiple parts and print those parts individually.
Go for Nested looping.
If you still face problem, let me know.
Have you copied this code from somewhere ?
The input format of your program is not matching with that of the question.
You are taking two inputs, while you are required to take only one input i.e. n (rows=columns).
BTW, i have corrected your code.
Now, it is passing all the testcases.
Check it here: https://ide.codingblocks.com/s/100278
if you are satisfied, give a like.
thank you so much for your help.
You can give a like, i won’t mind.
2 Likes