0% found this document useful (0 votes)
5 views1 page

Arithmetic Operators Usage Process

The document outlines the usage of arithmetic operators, detailing the selection process for various operations such as negation, absolute, modulus, power, factorial, and basic arithmetic. It describes specific operations including addition, subtraction, multiplication, division, and their respective characteristics. The process concludes with obtaining the result after performing the chosen arithmetic operation.

Uploaded by

ptthuong1615
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Arithmetic Operators Usage Process

The document outlines the usage of arithmetic operators, detailing the selection process for various operations such as negation, absolute, modulus, power, factorial, and basic arithmetic. It describes specific operations including addition, subtraction, multiplication, division, and their respective characteristics. The process concludes with obtaining the result after performing the chosen arithmetic operation.

Uploaded by

ptthuong1615
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Arithmetic Operators Usage

Process

Start: Select Arithmetic Operator

Choose Operation Type


Negation/Absolute Modulus (Mod) Power (Pow)
Factorial (Fac)
Basic Arithmetic
Division

Select Specific Operation Select Division Type Select Basic Operation

Addition (A+B) Multiplication (A×B)

Integer Division (A\B)


Division (A/B)
Negative (Neg) Absolute (Abs)
Subtraction (A-B)

Convert number to its opposite sign Return positive distance from zero Calculate product of integers from 1 to n Return integer part of quotient Divide and return remainder only Raise base to exponent
Perform precise real number division Sum two numbers Subtract B from A Multiply two numbers
e.g., 5 → -5 e.g., |-7| = 7 e.g., 5! = 120 (discard decimal) e.g., 7 mod 3 = 1 e.g., 3³ = 27

End: Result Obtained

You might also like