0
>>>7%(5//2)
How to solve
4 ответов
+ 3
5//2 is 2 because we take floor from 5/2=2.5, then we take 7%2=1 because 7=2*3+1.
+ 2
Bartosz You are right! Here is the Python one then. He is studying both C++ and Python anyway. ☺
https://www.tutorialspoint.com/python/operators_precedence_example.htm
0
Here is a link about operators precedence in C++... It might come in handy when you try to figure these kind of things out
http://en.cppreference.com/w/cpp/language/operator_precedence