Question: JAVA CODe PLS Aside from the main()'method you are not to write static methods for this assignment. (If you don't know what I'm referring to

JAVA CODe PLS Aside from the main()'method you are not to writestatic methods for this assignment. (If you don't know what I'm referringJAVA CODe PLS

Aside from the main()'method you are not to write static methods for this assignment. (If you don't know what I'm referring to by static methods, I will be discussing this topic later in the course) Description Defines an outline for class 'Exponents', your code will be all be contained in the main() method of this class. The file name of course must be called "Exponents.java". (0.2 grade points for an empty class and an empty method definition). The program will calculate a number of exponents (user will be prompted to enter a value between 1 and 10 which determines the number of exponents to be calculated: 0.2 grade points for the prompt) the result of each calculated exponent will be stored as a separate array element - no need to store the based and the power in the array just store the result. (1 grade point for storing results in a 1D array) For each exponent to be calculated the program will prompt the user for a base and a power (0.2 grade points for prompt) either of which can be any non-negative integer. At this point your program doesn't have to handle type checking (e.g. a String is entered instead of a number). The program can correctly calculate an exponent when the power is zero the result is just one). (1 grade point) The program can correctly calculate an exponent when the power is greater than zero using a loop and not a predefined Java method such as the 'pow' in class Math. (1 grade point) The number of exponents calculated should match the value entered by the user. (0.4 grade points) Use of pre-created libraries: unless otherwise told you are to write the code yourself and not use any pre-created classes. For this assignment the usual acceptable functions include code in the Scanner class and methods for displaying output such as: printf().print(.println()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!