i wrote this code for drawing the pattern of swastika -
this is not giving a desirable output. there is a minor difference. pleases tell me what am i doing wrong??
i wrote this code for drawing the pattern of swastika -
this is not giving a desirable output. there is a minor difference. pleases tell me what am i doing wrong??
@pushkar24sharma change the condition in line 30 like this
Please mark your doubt as resolved in case of no further queries.
@Ishitagambhir maam okay it worked. but i got no marks for this program. it is not accepted there and it is showing -
Dang! You couldn’t score a perfect 100 because you failed one or more testcases. This means that your program didn’t account for all input cases (did you account for negative numbers, for example?).
@pushkar24sharma actually as you can see in the sample output, there are no spaces between adjacent *
but there are spaces in your code