We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a7630 commit b530bb9Copy full SHA for b530bb9
1 file changed
Logical operators
@@ -0,0 +1,21 @@
1
+#!/bin/bash
2
+#Purpose: Logical Operators/Boolean Operators. Student Marks Validation.
3
+#Version:1.0
4
+#Created Date: Sat May 12 21:21:03 IST 2018
5
+#Modified Date:
6
+#Author: Ankam Ravi Kumar
7
+# START #
8
+echo -e "Enter Your Maths Subject Marks: \c"
9
+read -r m
10
+echo -e "Enter Your Physics Subject Marks: \c"
11
+read -r p
12
+echo -e "Enter Your Chemistry Subject Marks: \c"
13
+read -r c
14
+
15
+if test $m -ge 35 -a $p -ge 35 -a $c -ge 35
16
+then
17
+echo "Congratulations, You have passed in all subjects"
18
+else
19
+echo "Sorry You not upto mark in one of the subject"
20
+fi
21
+# END #
0 commit comments