My code is running and giving answer on some other ide(codelite), but it is not giving correct answer on coding blocks side.
Please can u tell what is the problem with my code?
you have done the same mistake
i expalin this mistake in detail
in the reply of doubt mention below
first you read this reply and try to understand
now if you have more doubts or you want to ask something
feel free to ask here
i hope this helps
if yes show your response with
and don’t forgot to mark doubt as resolved