Write the output of the following segments code int X = 7 ; int Y = 3; cout<< X/Y << " and " << X%Y; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Write the output of the following segments code int X = 7 ; int Y = 3; cout<< X/Y << " and " << X%Y;

Be fast

24th Dec 2020, 10:54 PM
fadil Yusuf
fadil Yusuf - avatar
1 Answer
+ 2
If you just want to get an answer, you won't learn from it... When asking a good question you should be specific and mention what you don't understand. There is a few things hapenning in there. Do you need help understanding "cout" or the modulo "%" or is it something else?
24th Dec 2020, 11:07 PM
Apollo-Roboto
Apollo-Roboto - avatar