How do you split two numbers in Unix?

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

Tìm kiếm

Back
Top