Which of these can use the modulus operator, percent?
A. Integers
B. Floating – point numbers
C. Both integers and floating-point numbers.
D.none of the preceding
Answer:C
Which of these can use the modulus operator, percent?
A. Integers B. Floating – point numbers C. Both integers and floating-point numbers. D.none of the preceding
Explanation: The modulus operator can be used on both integers and floating point numbers.