How to get the value of X divided by Y on the screen? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to get the value of X divided by Y on the screen?

int x=81; int y=3; ___<<x___y<<endl

10th Dec 2017, 5:03 PM
Christopher Johnson
Christopher Johnson - avatar
3 Answers
+ 10
cout << x / y << endl;
10th Dec 2017, 5:09 PM
Vukan
Vukan - avatar
+ 4
ha dude you know this already !I know you know this
10th Dec 2017, 6:08 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 2
Thanks!
10th Dec 2017, 5:12 PM
Christopher Johnson
Christopher Johnson - avatar