Question: How to run it using Jslinux [root@localhost ~]# sh p1 Give me your name Samuel How many marks 13 Enter quiz1 10 Enter mid exam
![How to run it using Jslinux [root@localhost ~]# sh p1 Give](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66fa42c0a6d60_12066fa42c048fba.jpg)

[root@localhost ~]# sh p1 Give me your name Samuel How many marks 13 Enter quiz1 10 Enter mid exam 100 Enter quiz2 10 Samuel total marks = 120 Samuel average marks = 40 echo "Give me your name" read name echo "How many marks" read no echo "Enter quiz1" read ml echo "Enter mid exam" read m2 echo "Enter quiz2" read m3 sum="expr $m1 + $m2 + $m3 avg="expr $sum / $no echo "$name total marks = $sum" echo "$name average marks $avg
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
