We are looking for a programmers who knows java to write three short java [login to view URL] programs titles are
[login to view URL] Dimensional array
Write a program that:
Queries the user to enter two integer numbers; one representing the number of rows in a two dimensional array and the other the number of columns.
Dynamically create the two dimensional array
Iterate through this array and:
if the row index = 0, place a '0' in the element
if the column index = 0, place an 'a' in the element
if both the row index and column index are even place an 'x' in the element
if both the row index and column index are odd place a 'y' in the element
place a 'b' in all other elements
Iterate through the array and count and present to the user the number of each value ('0','a','b','x','y') present in the array.
Iterate through the array and display its contents in a logical manner on the standard output device
[login to view URL] Class Homework
create a Utility class containing three methods that can be called without instantiation. The three classes are:
String queryUserForString(String title, String message) A method that displays the message message in a JOptionPane dialog having the title title and returns the string entered by the user.
long queryUserForInteger(String title, String message) A method that displays the message message in a JOptionPane dialog having the title title and returns the integer value entered by the user.
double queryUserForDouble(String title, String message) A method that displays the message message in a JOptionPane dialog having the title title and returns the floating point value entered by the user.
3. Accumulator Object
Create the class definition for this accumulator object. Make sure you:
have a constructor that initializes the accumulator to 0
an appropriate mutator method for each instance variable
an appropriate accessor method for each instance variable
a method called with the prototype void add(int value) that adds the value value to the accumulator only if value is > 0
These are very short programs. We need this in 24hrs to review, and test. Your methods in the programs must be short and straight to the [login to view URL] codes must also be aligned correctly downward for we could read your code. Which means your special characters like the equal(=) sign must all align downward to see your code clearly.
your code will be tested to make sure all is working correctly.
Happy bidding.