Question: Write a method called octPrism ( int h , int a ) that takes an int height and an int side in as parameters. Use
Write a method called octPrismint int a that takes an int height and an int side in as parameters. Use the two values to find and return the value of the volume of the associated regular octagonal prism.
The formula for a right rectangular prism is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
