Computer Science, asked by mujeebkhan25, 5 months ago

sumit is converting a decimal number to a binary number . He needs to calculate the remainder in each step. Which operator do you suggest him to use for this task

Answers

Answered by ifteshamulbari012dha
7

Answer:

To caculate remainder the operator used in C program is % which is also called mod.

Answered by Asadhya
3

Explanation:

It is the modulus operator(%) .Modulus is the operator which is used to calculate remainder in programming languages.

In mathematics, the modulus operator is the percentage sign which is used for calculating percent in mathematics.However this sign is used in computer languages to calculate remainder and there it is known as modulus. So don't get confused.

Similar questions