Finite Math For Dummies
Book image
Explore Book Buy On Amazon

In computer programming, four basic ways are used to manipulate numbers: adding, subtracting, multiplying, and dividing. To perform a mathematical operation with two numbers (or two numbers represented by variables), use these symbols in your computer program:

Mathematical Operation Symbol to Use
Addition +
Subtraction -
Division / (forward slash)
Integer division (backward slash)
Modulo mod
Multiplication *
Exponentiation ^

About This Article

This article is from the book:

About the book author:

Mary Jane Sterling taught algebra, business calculus, geometry, and finite mathematics at Bradley University in Peoria, Illinois, for more than 30 years. She is the author of several For Dummies books, including Algebra Workbook For Dummies, Algebra II For Dummies, and Algebra II Workbook For Dummies.

This article can be found in the category: