My code doesnt execute properly it keeps taking infinite inputs
Infinite inputs
The input’s are fine but in the while(sc < ec) loop you never incremented the sc or decremented ec thats why its running infinitely.
ah I see thanks a lot
The input’s are fine but in the while(sc < ec) loop you never incremented the sc or decremented ec thats why its running infinitely.
ah I see thanks a lot