Menu

[solved] – Question 8510

write a java application to calculate the exponent value of a number using the following specifications:
.prompt the user to enter an interger value
.pass the interger value to the method square, which squares the number and to a method cubes the number. The result must be returned to the main method.
The main method must print the results along with a suitable message

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *