Create the two methods that square and cube a number passed


Problem

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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create the two methods that square and cube a number passed
Reference No:- TGS02648637

Expected delivery within 24 Hours