Computer Science, asked by Adithikrithivasan, 9 days ago

What are the roles of '%' and '/' operator? Explain with suitable C++ example.​

Answers

Answered by krrishkhandelwal10
2

ANSWER

role of %--- useful for detecting even/odd numbers (like to make stripes) and for restricting a value to a range (like to wrapping an animated ball around) .

role of /----- used to perform comparisons

Similar questions