How to find volume of different shapes using a menu Now, let's talk about a little bit about this code. You have to write a program which will let you choose what shape's volume you want to find out & after this it will execute for that particular shape to find out it's volume. So to code this our main target is to build a menu. So how can we do that? It's really simple. We just use a switch case to do this program. BASIC STEPS TO CODE THIS PROGRAM 1. First you should take the integer variable so that we can choose option from this like, Press 1 to find volume of cone, Press 2 to find volume of cylinder & so on. After that we should take float variables to store height, length, radius, width, edge length etc. 2. Next we use a switch case to execute the option driven code. 3. Now we will separately consider each case & make proper formula to find out the correct answer for that specific option selected shape's volume. That's all. Isn't it so sim...
Don't panic with coding, it will enhance your life