Upload files to "OS/bash/Week3"

This commit is contained in:
Aadit Agrawal 2025-01-17 10:49:57 +05:30
parent e27e2c7837
commit a815332403
5 changed files with 56 additions and 0 deletions

8
OS/bash/Week3/q4.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/sh
echo "Enter Basic Salary"
read basic
echo "Enter TA"
read TA
GA=$(echo "$basic + $TA + 0.1*$basic" | bc -l)
echo "$GA"