How do you multiply two numbers in Linux?

How do you multiply two numbers in Linux?
Answer
Shell script for multiplication of two numbers
  1. initialize two variables.
  2. multiply two numbers directly using $(…) or by using external program expr.
  3. Echo the final result.
 

Tìm kiếm

Back
Top