Problem regarding cin and cout

for new line when i am writing endl; then it showing error
without endl it is correct why sir

share your code using cb ide link so that i can look