Describe how to use arithmetic operators.

CMPTR
3rd Edition
ISBN:9781337681872
Author:PINARD
Publisher:PINARD
Chapter15: Creating An Advanced Workbook
Section: Chapter Questions
Problem 3QY
icon
Related questions
Question

Describe how to use arithmetic operators.

Expert Solution
Step 1

 Arithmetic operators:

  • Arithmetic operators take numerical values (either literals or variables) as their operands and return a single numerical value.
  • There are five basic operations in arithmetic, namely addition, subtraction, multiplication and division and modulus.
  • An arithmetic operator is a mathematical function that takes two operands and performs a calculation on them.
  • They are used in common arithmetic and most computer languages contain a set of such operators that can be used within equations to perform a number of types of sequential calculation.
steps

Step by step

Solved in 2 steps

Blurred answer