Create a java program that declare an integer array

Assignment Help JAVA Programming
Reference no: EM131971142

Intro to OOP Homework

Purpose - Practice using arrays and array functions in a Java program.

Instructions - Create a Java program that performs the following tasks:

1. Declare an integer array capable of storing 15 values

2. Generate 15 random numbers using the java.util.Random class

A. The range of the random numbers should be between 0 and 1000

B. Store the random values in the array

3. Display the contents of the array on a single line

A. Separate the values using commas and spaces

4. Perform the following array-based functions

A. Determine the location of the minimum value in the array

B. Determine the location of the maximum value in the array

C. Determine the average value of the array

5. Display the results of the results of the array-based functions (see Example Output section)

A. Display average result to two (2) decimal places

Notes -

Display homework number and programmer's name at top of program output.

Ensure source code comments conform to class commenting standards.

Ensure program development conforms to class programming standards.

Submit the project source code as a single *.java file.

Submit a capture of the program output as a *.txt file.

Reference no: EM131971142

Questions Cloud

Why do public schools do these free screenings : Public schools have yearly vision and hearing screenings. Why do public schools (and many private as well) do these free screenings?
Describe why you choose individual to represent leadership : Select a leader of your choice (can come from business, politics etc.). Briefly describe why did you choose this individual to represent leadership.
Original definition of health and homeostasis : As you approach the ending of the course, please reflect back on your original definition of health and homeostasis and answer the following question
Manage anxiety during the preoperative period : Why is it important for the RN to help this patient manage anxiety during the preoperative period?
Create a java program that declare an integer array : COP2551 Intro to OOP Homework - Create a Java program that Declare an integer array capable of storing 15 values
Leverage both clinical and business data : What are methods and priorities that health care may adopt to leverage both clinical and business data.
Determine the current mean arterial pressure : Describe the treatment goals for handling the hypertensive crisis and apply the goals to the case study. Determine the current mean arterial pressure and goals
Discuss your leadership roles and community involvement : Discuss your leadership roles and community involvement and Elaborate on all of the items you checked under the Check any that apply section.
Definition of a stakeholder with respect to a change : What is a definition of a stakeholder with respect to a change project and why is their support necessary.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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