Main.cc: In function ‘int main()’:
Main.cc:6:9: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’
if(n%x-y=o){
~^~
Main.cc:10:2: error: expected ‘}’ at end of input
}
^
Main.cc:10:2: error: expected ‘}’ at end of input