It's not taking the second input. Is my code wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

It's not taking the second input. Is my code wrong?

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

18th Aug 2017, 9:31 AM
Mushahid Intesum
Mushahid Intesum - avatar
4 Answers
+ 20
write cin>>x>>y; instead of cin>>x,y;
18th Aug 2017, 9:33 AM
Mansi Dagla
Mansi Dagla - avatar
0
ok
18th Aug 2017, 9:35 AM
Mushahid Intesum
Mushahid Intesum - avatar
0
thanks mate
18th Aug 2017, 9:37 AM
Mushahid Intesum
Mushahid Intesum - avatar
0
okay
18th Aug 2017, 2:37 PM
Mushahid Intesum
Mushahid Intesum - avatar