Computer Science, asked by sgadi1986, 2 months ago

What will be the output of command, Print 42%5? *​

Answers

Answered by Anonymous
0

Albert Einstein was a world-renowned theoretical physicist known for his theory of relativity and the mass-energy equation E = mc². He was awarded the Nobel Prize in 1921 for his discovery of theoretical physics, especially photoelectric emission.

Answered by mariospartan
0

The output of command Print 42%5 will be 2.

Explanation:

  • In programming languages,  we use the operator % to find remainder.
  • The operand coming before the operator is the dividend
  • The number after the operator is the dividend.
  • This operator gives us the remainder when divisor divides the dividend.
  • Thus, dividing 42 will give remainder 2
  • The output of command Print 42%5 will be 2.
Similar questions