Project: Pseudoscience

I need you to write a Java program following the instructions in the document “Homework Instructions”. If I understand correctly, you’ll need to make 2 similar programs ABCDGuesser1.java and ABCDGuesser2.java?

Basically the program is supposed to

Don't use plagiarized sources. Get Your Custom Essay on
Project: Pseudoscience
Just from $13/Page
Order Essay

1. ask the user for a positive integer

2. asks the user for 4 positive integers

3.calculate w^a x^b y^c z^d with a,b,c, and d being one of the numbers {-5, -4, -3, -2, -1, -1/2, -1/3, -1/4, 0, 1/4, 1/3, 1/2, 1, 2, 3, 4, 5}

4.calculate and report the values of the exponents a, b, c, and d that bring the de Jager formula as close as possible to μ

5.calculate and print the value of the formula w^a x^b y^c z^d AND the relative error of the approximation to the nearest hundredth of one percent

***if the user input a string or a negative number instead of a positive integer, code the program to say “please enter a positive integer” until they enter a positive integer

***After you make sure the code works and does what the instructions say it's supposed to do, just put the code in a Word or even notebook+ document and post it as the answer. Just as long as I can tell the structure of the code and how far each line should be indented and such.

Here's a helpful tip. This website may help you begin the code but NOT with the complete code:

//https://stackoverflow.com/questions/28522473/loopi...

ORDER NOW »»

and taste our undisputed quality.