The person’s basic salary is input through the keyboard. His dearness allowance is 40% of #the basic salary, and house rent allowance is 20% of the basic salary. Write a program to #calculate the gross salary.
echo "Enter basic salary : " read salary grossal=`echo $salary + $salary \* 40 /100 | bc` grossal=`echo $grossal + $salary \* 20 / 100 | bc` echo "Gross salary is : $grossal"