Write a linux shell program to perform basic arithmetic operations using case

Basic arithmetic operations using case

Code:


Output:

-----------------------------------------------------
Evaluation of Arithmetic expression
-----------------------------------------------------
Enter the a value
45
Enter the b value
5
1.Addition
2.Subtraction
3.Multiplication
4.Division
5.Modules
Enter your choice
4
Division : 9

20 comments:

  1. Ok better way do modify some more easy way

    ReplyDelete

Powered by Blogger.