Question: Calculator Soup: Solid Geometry Calculators LINK Computational Thinking: Pseudo-code: Write a C program to work with Imaginary Numbers. Your program must ... - Use a


Calculator Soup: Solid Geometry Calculators LINK Computational Thinking: Pseudo-code: Write a C program to work with Imaginary Numbers. Your program must ... - Use a switch statement to provide a menu for the user to select one of the 4 geometric solids: capsule, frustum, distance, hemisphere - Based on the user choice, call one of three udfs for each geometric solid and one udf for distance. You should have 4 udfs in total. - Read in required variable values inside its udf. - For the capsule, frustum and hemisphere udfs - Calculate the volume and total surface area - Print inside the udf to 2 decimals - There is no return from the udf to int main(void) - For the distance udf - Calculate the distance - Send the distance back to int main(void) for printing - Do not print inside the udf. - Loop until the user wants to quit Calculator Soup: Solid Geometry Calculators LINK Computational Thinking: Pseudo-code: Write a C program to work with Imaginary Numbers. Your program must ... - Use a switch statement to provide a menu for the user to select one of the 4 geometric solids: capsule, frustum, distance, hemisphere - Based on the user choice, call one of three udfs for each geometric solid and one udf for distance. You should have 4 udfs in total. - Read in required variable values inside its udf. - For the capsule, frustum and hemisphere udfs - Calculate the volume and total surface area - Print inside the udf to 2 decimals - There is no return from the udf to int main(void) - For the distance udf - Calculate the distance - Send the distance back to int main(void) for printing - Do not print inside the udf. - Loop until the user wants to quit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
