0
How come cout<<7.0%2.0 gives an error?
#include <iostream> using namespace std; int main() { cout<<7.0%2.0; return 0; } ============ Why does 7.0%2.0 return an error while 7.0/2.0 return a result?
1 ответ
#include <iostream> using namespace std; int main() { cout<<7.0%2.0; return 0; } ============ Why does 7.0%2.0 return an error while 7.0/2.0 return a result?