if i remove the endl statements the code gives a runtime error and even without the endl statements the last cout doesn’t work .
why is that so? what am i doing wrong?
if i remove the endl statements the code gives a runtime error and even without the endl statements the last cout doesn’t work .
why is that so? what am i doing wrong?