can you explain the complete approach to do question pattern 8
Pattern 8 concept
hi @Adhyayan
basically in pattern question you need to divide the pattern into different blocks print the same block in different loop.
you just need find variation in stars and gaps and you can draw the pattern easily.
sir I have tried but still not getting it,please just tell how to divide it into different blocks for this pattern 8
@AdhyayanNaresh
i think you have tag the wrong pattern
Do you have doubt in this pattern
/*
/* *
/* * *
/* * * *
/* * * * *
/* * * *
/* * *
/* *
/*
no,this is not the pattern in which I am having doubt.
question 8 of pattern practice question
-
*
-
*
-
*
-
-
*
@Adhyayan
consider it as 5*5 matrix and be (i,j) any coordinates in the matrix.
now you need to print diagonal for that use the property of diagonal which is (i==j)
and for the second diagonal try to find the pattern.
if you are not able to get it let me know i will explain you that as well.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.