How can you calculate modulus of two numbers using C++ program?
Answers
Answered by
2
we use % in java maybe in c++ too.....
Anonymous:
yes
Answered by
1
C++ Modulus Operator. ... The C and C++ language provides a built-in mechanism, the modulus operator ('%'), that computes the remainder that results from performing integer division. Consider the following program which takes a number from user and calculates the remainder of the number with divided by 3.
Please mark me as brainlist please
Similar questions