Professional Documents
Culture Documents
#!/bin/sh #include <math.h> echo "giai PT ax+b=0" a=2 b=4 if [$a=0];then if [$b=0];then echo "phuong trinh vo so nghiem" else echo "phuong trinh vo nghiem" fi else x=$((-$b/$a)) echo "phuong trinh ax+b=0 co nghiem x=$x" fi exit 0