Difference between End or Exit

Please Clarify difference between end and exit.
Is end used to end the program or any end the condition like loop
Is exit used to exit condition like loop or if else

hello @yashratnani6 endl is used print the further lines in new line whereas exit is used when there is some condition and if you encounter that condition then exit will execute and program will terminate there .
if you still have doubt please let me know ,i will explain .
Happy Learning !!

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.