Computer Science, asked by pembepressure, 6 months ago

Write a MATLAB code that calculates the volume and area of sphere with using switch-case structure. Use r=1 for the area and r=2 for the volume. ( If the user enters a value other than r=1 or r=2 as input, then program should give the message "You made the wrong choice" )

Answers

Answered by Anonymous
0

Answer:

Write a MATLAB code that calculates the volume and area of sphere with using switch-case structure. Use r=1 for the area and r=2 for the volume. ( If the user enters a value other than r=1 or r=2 as input, then program should give the message "You made the wrong choice" )

Explanation:

Hope this helps you mate xD

Answered by rashirana26
0

Answer:

MATLAB MATLAB MATLAB MATLAB

Similar questions