noajakania
noajakania noajakania
  • 01-02-2022
  • Computers and Technology
contestada

In what real-life situations might you want to use the modulus operation in a program?

Respuesta :

SalenaMd
SalenaMd SalenaMd
  • 01-02-2022

Answer:

Since any even number divided by 2 has a remainder of 0, we can use modulo to determine the even-ess of a number. This can be used to make every other row in a table a certain color, for example.

Answer Link

Otras preguntas

Harriet was killed by her former master? True False
George Sand – Souvenirs de 1848. L'impôt est destiné à prendre un peu du trop de chacun pour donner beaucoup à tous. Ainsi, c'est peu que de payer le huitième d
x+ 2y+ z=4, 2x-y +4z=-8, -3x+ y-2z =-1
where are the ffa jackets lettered and embroidered? (city and state)
In line 11 of the poem, what does the word hailed mean in context?
-51° into radians using pi/180
Do you agree or disagree with Washington’s view of political parties (factions)? Why/why not?
Jason has 144 feet of material to build a fence a round a rectangular garden on his property if the widht of the fence must be 9 feet what is the lenght of the
Find the exact values of x and y
overproduction reword?