expr can perform ____ arithmetic operations.

Minh Tung

New member
expr can perform ____ arithmetic operations.
A. 2
B. 4
C. 5
D. 3
 
Answer: c
Explanation: expr command can perform four basic arithmetic operations as well as the modulus function. For example,
Code:
$ x=5  y=10
$ expr $x + $y
$ expr $x - $y
$ expr $x /* $y        // asterisk has to escaped
$ expr $y / $x
$ expr $y % $x
 

Tìm kiếm

Back
Top