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

Sugar that occurs in DNA but not in RNA (A) Deoxyribose (B) Ribose (C) Uracil (D) Cytosine (E) Thymine
Need help drawing a picture to show 9/7
simplify 4c - 5c + 6c
In which phase of the cell cycle do cells grow and synthesize new proteins and organelles
suppose that x and y are both integers. find the solution of 10x^2+11xy+3y^2=7
Armando bought 45 baseball cards. Of the 12 friends he invited to his cookout, half of them were able to attend. Armando gave each of his friends at the cookout
when a falling object reaches a speed called terminal speed, its speed is no longer unceasing. the object id loosing gravitational potential energy nut no kinet
the ratio of red jelly beans to yellow is 3:4. If greg eats 3 red and 6 yellow, the ratio is 4:5. How many yellow jelly beans were originally in the dish?
what is 1/10 of 0.09 ?
Are these sentences time, sequence, condition, or state? We will have completed a full week's worth of work in the forest. We will be flying to a remote part of