The error messages are pretty self-explanatory.
The operators % and & are not defined for floating point datatypes.
Try integer datatypes instead.
The error messages are pretty self-explanatory.
The operators % and & are not defined for floating point datatypes.
Try integer datatypes instead.