1/13/00
COM1100 Winter2000 Yuhong Yin
Northeastern University
4
Arithmetic Operations
q
Integer(
int
) and real number(
double
) can be added,
subtracted, multiplied, and divided.
q
The operators used for arithmetic operations are called
arithmetic operators
.
q
Addition
+
q
Subtraction
-
q
Multiplication
*
q
Division
/
q
Modulus Division
%
n