Sie sind auf Seite 1von 1

ARITHMETIC OPERATION

AIM:
To write a unix shell script for performing arithmetic operations using case statement.

Algorithm:
Step 1: Start the process
Step 2: read two numbers a and b
Step 3: read a choice ch
Step 4: If c=1 do addition operation
If c=2 do subtraction operation
If c=3 do multiplication operation
If c=4 do division operation
Else exit
Step 5: stop the process.

Das könnte Ihnen auch gefallen