+ 1

Can someone explain to me why the answer for this code is error?

#include <iostream> using namespace std; int main () { double x=5, y=2 ; int result ; result = x % y ; cout << result ; return 0 ; }

6th Aug 2018, 5:46 PM
Mofeed
Mofeed - avatar
1 Respuesta
6th Aug 2018, 10:19 PM
Mofeed
Mofeed - avatar