The user has also already entered a mystery number they


Program Specification: So far, the user has entered 4 integers that are greater than 1 and positive (relatively small numbers, about 2-7 digits each). The user has also already entered a mystery number they want the following series to calculate based upon their current numbers (also relatively logical in size).

You need to prepare nested while / for loops that use the formula, w^a * x^b * y^c * z^d, where wxyz are the four user entered ints, and abcd are any of the contents of the following array:

double[] exponents = new double[]{-5.0,-4.0,-3.0,-2.0,-1.0,-0.33333,-0.25,
0.0,0.25,0.33333,1.0,2.0,3.0,4.0,5.0};

The goal is to use the formula to check all combinations/ possibilities via the nested loops in order to produce a solution number that is as close to the user's mystery number as possible.

You just need to implement the nested loops. I'm not sure how to solve the question. Can anyone help me?

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: The user has also already entered a mystery number they
Reference No:- TGS0949141

Expected delivery within 24 Hours