We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49328b4 commit a3b7ebdCopy full SHA for a3b7ebd
casestatement.sh
@@ -6,17 +6,17 @@
6
#Modified Date:
7
#Author: Ankam Ravi Kumar
8
# START #
9
-echo -c "Enter a number: \c"
+echo -e "Enter a number: \c"
10
read -r a
11
-echo -c "Enter b number: \c"
+echo -e "Enter b number: \c"
12
read -r b
13
14
echo "1. Sum of values"
15
echo "2. Substraction"
16
echo "3. Multiplication"
17
echo "4. Division"
18
echo "5. Modulo division"
19
-echo -c "Enter Your Choice from above menu: \c"
+echo -e "Enter Your Choice from above menu: \c"
20
read -r ch
21
case $ch in
22
1) echo "Sum of $a + $b = "`expr $a + $b`;;
0 commit comments