0
Why my second half of the pattern is not printing??
4 Answers
+ 4
Shoan Ahmed As you do coding same as debugging the code is also important so I just printed the value of m to check that it's going inside loop or not but I found it is not going because the value of m was in negative so m can't be greater than 0 so here m > 0 Condition was false.
+ 1
On line no 30 m is coming -1, -2, -3 and so on. Here m should be positive.
+ 1
Ohh thank you mam...đđ... Now it is working... Can you please tell me how could you find the mistake by line??...đ