Home > database >  For the first time to write a shell encounters an error, please leaders to help have a look.
For the first time to write a shell encounters an error, please leaders to help have a look.

Time:10-19

Finished format to forget, is an urgent need to write a homework, thank you for your bosses the

CodePudding user response:

The code is as follows:
#!/bin/bash#
Echo - e "please enter A number to open, read" AL=$A
W=$A/$L
If [$L - le $0] then

Echo "input error" exit 1

The else
While ($L $W) & gt;=0. 00001 do

L=($$W + L)/2 W=$A/$Ldone

Fi
Echo $L
  • Related