Java write a program that creates a 4 x 6 two-dimensional

Assignment Help JAVA Programming
Reference no: EM13165401

Using Java write a program that creates a 4 x 6 two-dimensional array. The program should use loops to populate the array with random numbers between 1 and 100. After the values have populated the array, output the values of the array to the screen in something that looks like a 4 x 6 table.

 

Also in another program take the randomly populated 4 x 6 two-dimensional array you created in RandomNumber Array above, and search the array to output the following items:

1. Sum of the 24 random numbers.

2. Average of the 24 random numbers.

3. Maximum value of the 24 random numbers.

4. Minimum value of the 24 random numbers.

You should first output the entire 4 x 6 array and then output the answers to the above 4 questions. Make sure your output clearly identifies which answers are which.

 

 

Reference no: EM13165401

Questions Cloud

Find the contour length : find the contour length (chain length) for a fully extended polythylene molecule that has a degree of polymerization of (n=45000),given that the length of c-c bond is 1.54 Ao.
Measure financial and non financial performance : Evaluate and use quantitative and qualitative information to measure financial and non financial performance of an organisation
What is the average thickness of the sheet in meters : If a 180 piece of gold (density =19.32 ) is hammered into a sheet measuring 2.51.0 , what is the average thickness of the sheet in meters?
Compute the molarity of the l2 solution : A student standardized her I2 solution by preparing a solution of 0.0450 g of ascorbic acid (vitamin C) in a 100 mL volumetric flask. She titrated several 10.00 mL samples of the Vitamin C solution
Java write a program that creates a 4 x 6 two-dimensional : Using Java write a program that creates a 4 x 6 two-dimensional array. The program should use loops to populate the array with random numbers between 1 and 100. After the values have populated the array, output the values of the array to the screen i..
What is the order of increasing steric hindrance : what is the order of increasing steric hindrance within these reactions and what is the reason for that order in terms of calculated energies, distance, and structures.
Requests 2 numbers from the user and then passes : Write a program in java that requests 2 numbers from the user and then passes these 2 numbers to a method findMax that displays the largest number. Make sure your method is called fron main(). Test the method by passing various data to it
Which graduated cylinder would have the greatest volume : The density of aluminum is 2.70 g/cm3 and the density of chromium, is 7.19 g/cm3. If equal masses of aluminum and chromium are transferred to equal volumes of water in separate graduated cylinders, which graduated cylinder would have the greatest ..
Access time for reading a word from a virtual address : Consider a computer system where the overhead required for reading a word from the page table is 1.25ms. A TLB lookup of a word requires 250 ns.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a graphical user interface class

Write a graphical user interface class called SentenceCounterGUI. It should be able to manipulate the sentence of words and have the behaviour label.

  Implement a shopping cart class with user interface

project will be to implement a shopping cart class with user interface (UI) that contains main() in Net Beans. The UI class will be used to perform user input/output and to invoke the appropriate methods of shopping cart class. When your program star..

  How many numbers do you want to enter

Write a program that asks the user "How many numbers do you want to enter?" With that value, create an array that is big enough to hold that amount of numbers (integers).

  You need to train for 10 weeks

You are preparing for a marathon. In order to prepare, you need to train for 10 weeks, running an increasing number of miles per week, starting at running at least 2 miles your first week up to 26 miles by week 10.

  Write a method named is all vowels that returns

Write a method named isAllVowels that returns whether a String consists entirely of vowels

  The drink machine should have a supply

When the applet starts, the drink machine should have a supply of 20 of each of the drinks. The applet should have a text field where the user can enter the amount of money he or she is giving the machine. The user can then click on a button to selec..

  Create a circle class

create acircle class, which has one field, the radius. the class should contains two constructors: a no-argument constructor that set the radius to zero, and a constructor that takes a parameter to set the radius.

  Write a functions that takes an array of doubles

1. Write a function that is passed a single integer and then calculates the factorial of that number. A factorial is the product of the integer times all of the integers below it stopping at 1. So n!= n*(n-1)*(n-2).......3.2.1

  Palindrome is a sequence of char that reads backward forwrd

A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554, and 11611. Write an application called Palindrome.java that asks the user t..

  Three most primary forms of loops: the while loop, the do..

explored the world of loops we have accepted the three most primary forms of loops: the while loop, the do...while loop (even though Python does not use this loop), and the for loop. The for loop has approximately three primary implementations that w..

  Create a bar chart that illustrates sales.

Hal's Used Cars has four salespeople named Pam, Leo, Kim, and Bob. Accept values for the number of cars sold by each salesperson in a month, and create a bar chart that illustrates sales. Save the file as BarGraph.java.

  Implementation the two classes

Program Specifications: In the new implementation, the two classes, Student and Grades, are defined with the following operations/methods.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd