Create the logic for a program that continuously prompts a user for a numeric va
ID: 3634362 • Letter: C
Question
Create the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that squares the number and to a method that cubes the number. The program displays the results before reprompting the user. Create the two methods that square and cube a number passed to them and then return the calculated value.
1. A hierarchy chart showing all modules by name and parameters.
2. Pseudocode for each module.