Problem | timeexam |
---|---|
User | Um |
Submission Time | 2023-05-11 22:42:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:22:26: error: invalid operands of types ‘float’ and ‘int’ to binary ‘operator%’
22 | else if (n>=1000 && n%60>=1){
| ~^~~
| | |
| | int
| float
timeexam.cpp:23:27: error: invalid operands of types ‘float’ and ‘int’ to binary ‘operator%’
23 | float minutes=n%60;
| ~^~~
| | |
| | int
| float