this is my code
https://docs.google.com/document/d/1nDpFWKFXyFaeMndst8mZiFSM9gsi0rN92StuQsk5zEU/edit
when i run the code in an online cpp compiler it gives the complete output i.e,
enter image description here
enter image description here
enter image description here
enter image description here
enter image description here
but when i run the code in vs code it just gives the following output
enter image description here
i just cant seem to find out what is the problem
i think its a compiler problem so i tried changing compilers but still got the same issue
Ammar Hussain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1