0

Why i cant show my results in new line?what is wrong in this code ?? Please correct me !!

https://code.sololearn.com/c8DqwbgkAf9Z/?ref=app

26th Aug 2017, 5:08 PM
Mahir Sadman
Mahir Sadman - avatar
8 Answers
+ 7
Use endl or \n: cout<<x<<endl<<y; or cout<<x<<"\n"<<y;
26th Aug 2017, 5:10 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 4
Glad it helped :)
26th Aug 2017, 5:12 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 4
No, that shouldn't be a problem.
26th Aug 2017, 5:14 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 4
I'm not that good in C++. If you post your queries in Q/A section, you'll get maximum response as the other members will also be able to help you :)
26th Aug 2017, 5:18 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 1
thanks a lot shamima :D
26th Aug 2017, 5:11 PM
Mahir Sadman
Mahir Sadman - avatar
0
I am learning C++ new. I am having fun . but I didn't learn C . will it be a problem?
26th Aug 2017, 5:13 PM
Mahir Sadman
Mahir Sadman - avatar
0
okay
26th Aug 2017, 5:32 PM
Mahir Sadman
Mahir Sadman - avatar
- 1
okay...if I will have any problem ...I will knock you... please help me then
26th Aug 2017, 5:15 PM
Mahir Sadman
Mahir Sadman - avatar