Problem foodchain
User DoubleShaurya
Submission Time 2024-01-26 15:11:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:8:39: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
8 | cout << (milk*bananas*rabbits*gb*xy) % 1000000009;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
| | |
| double int