Chapter

Basic I/O

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. How does Java’s integer remainder operator work?

    "Java also supports the integer remainder operator using the % symbol. This operator gives the remainder of the result of dividing two integers. Examples: 1 int x; 2 3 x = 10 % 5; //x is 0 4 x = 10 %

Basic I/O | ComputerScienceOne | Bifalgorithm | Bifalgorithm