Option (A) is correct.
Explanation:
Add the rows one at a time and stop before the total goes past 30:
1+2+3+4+5+6+7=28
A full triangle with 7 rows uses 28 marbles. An 8th row would need 8 more marbles, making 28+8=36, which is more than 30. So the biggest full triangle has 7 rows, and 30−28=2 marbles are left over.
Why the other options are wrong
- (B) 9 comes from stopping at 6 rows: 30−21=9. But 9 marbles are enough for the 7th row (it needs only 7), so the triangle can be bigger.
- (C) 0 would mean 30 is a triangular number. The triangular numbers near 30 are 28 and 36, so 30 is not one of them.
- (D) 5 comes from making a square, 5×5=25 and 30−25=5. Neel is making a triangle, not a square.