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?

4th Aug 2020, 9:23 PM
Solus
Solus - avatar
1 Antwort