1. 算术运算符:
- +:加法
- -:减法
- *:乘法
- /:除法
- ** 或 ^:指数运算
data example;
a = 5;
b = 3;
/* 算术运算示例 */
sum = a + b;
difference = a - b;
product = a * b;
quotient = a / b;
power = a ** b;
/* 输出结果 */
put sum= difference= product= quotient= power=;
run;
输出: