Objectives :
- myUnaryMathOperator1
- Unary Math operations are so named because these operations
are done with single operand ( on the right side of the
assignment operator).
- in C++ binary math operators are
Addition, subtraction, multiplication, division and modulus.
- example of prefix and post fix operations.
- assignment operators
int x, y, a, b;
x = a =10;
- Code :
myUnaryMathOperator1.txt
|