0
What must i do to check my cpp program
I'm still a newb for these kind of things, so i need to know how the way to check my program (c++) is it ok or error... can anyone tell me how ?
5 Réponses
+ 4
You're using the wrong operator for cin:
change:
cin << x << y;
to:
cin >> x >> y;
After this fix your code works fine.
0
press run at code playground
0
I have tried your program twice. I got a compilation error. You can try by pushing the run button.
0
Try this line for cin: cin >> x >> y;
0
for a PC console
alt+f9