i could not understand N=N-1 What?
Online judge input output
@swaraj
Hello Shubham,
N=N-1 means subtract one from N and then assign it to N.
for example let say N=6
then N=N-1
will be N=6-1 (N=N-1)
so final value of N will be 5
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.