Calculation using switch case

shape