#!/bin/bash
echo "enter the basic salary:"
read basic
a=$(( $basic * 40 ))
da=$(( $a / 100 ))
b=$(( $basic * 20 ))
hra=$(( $b / 100 ))
gsalary=$(( $basic + $da + $hra ))
echo "The gross salary is : $gsalary"


OUTPUT
Enter the basic salary: 1000
The gross salary is: 1600