Question
What does the modulus operator do?
Question 3 options:
It subtracts one number from another
It divides two numbers and returns the remainder
It divides two numbers and returns the quotient
It adds two numbers together
Question 3 options:
It subtracts one number from another
It divides two numbers and returns the remainder
It divides two numbers and returns the quotient
It adds two numbers together
Answers
GPT-4o mini
The modulus operator divides two numbers and returns the remainder.
So the correct option is:
**It divides two numbers and returns the remainder**.
So the correct option is:
**It divides two numbers and returns the remainder**.