Question: Write JAVA code for the following statement. All info is clearly mentioned Problem statement General requirements, implement as many as possible where reasonable: Create a
Write JAVA code for the following statement. All info is clearly mentioned
Problem statement
General requirements, implement as many as possible where reasonable: Create a program or class which will implement if or switch structures where necessary and implement either a while or dowhile loop structure. The boolean data type must be used. The class should implement formatted output (4.6), as well as unformatted. A Scanner class should be implemented, and prompts to the user should be meaningful and contextual. The class should also, if possible, implement a named constant. The class should declare variables. The class implements only one main method.
Specific requirements: the action can be repeatable; the class must implement for loop use to traverse the array; the class implements methods beyond the main method, and also implements a double dimension array (as the data structure), to be passed to a method for data input, then a method for some kind of calculation, using Math.random() (a possible use not a necessary use) to help in calculation, and a method for displaying formatted output.
Algorithm(s)
Output image
Error messages and resolutions
Code
( please attach as the last item the program code print out from textPad )
( do not cut and paste )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
