Help me in that where i may be wrong
@divyansh0003 You were only checking once for n = 2, in case of if you have to use while