0

Is their something wrong with me or I didn't understand the concept well

Using \n instead of endl in else statment , the code show error

15th Apr 2020, 5:00 AM
Gaurav Bhaju
Gaurav Bhaju - avatar
3 Answers
+ 2
You have to keep \n in double quotes or else single quotes... Or, once keep your code then we can say
15th Apr 2020, 5:08 AM
sarada lakshmi
sarada lakshmi - avatar
+ 1
Yeah it works thank you for your time to answer my question
15th Apr 2020, 5:10 AM
Gaurav Bhaju
Gaurav Bhaju - avatar
0
It's alright 👍
15th Apr 2020, 5:54 AM
sarada lakshmi
sarada lakshmi - avatar