Write a java program that uses a two-dimensional array

Assignment Help Computer Engineering
Reference no: EM133213

Question

Write down a Java program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program has to output the average high, average low, and highest and lowest temperatures of the year. Your program must consist of following methods-

a) Method getData: This process reads and stores the data in the 2-dimensional array.

b) Method averageHigh: This process calculates and returns average high temperature of the year.

c) Method averageLow: This process calculates and returns average low temperature of the year.

d) Method indexHighTemp: This process returns the index of highest temperature in array.

e) Method indexLowTemp: This process returns the index of lowest temperature in array.

Reference no: EM133213

Questions Cloud

What is customer relationship management system : What is Customer Relationship management System (CRM)? How does such system add value to an organisation and to its consumers How does a Database Management System assist a business to improve centralisation, eliminate redundancy, and maintain re..
Write down program that models an employee : Write down program that models an employee
Generate queries for new database : Generate Queries for New Database
Separate following program into appropriate lexemes : Separate following program into appropriate lexemes
Write a java program that uses a two-dimensional array : Write a Java program that uses a two-dimensional array
Problem on sql statement : Problem on  SQL statement
Identify and classify the it infrastructure components : Identify core and side business activities of UPS and explain how same are driven by technology, Identify and classify the IT infrastructure components available at UPS and its subsidiaries
Write down an automated checkout program : Write down an automated checkout program
What are the kinds of information systems : What are the kinds of information systems

Reviews

Write a Review

Computer Engineering Questions & Answers

  How to create the clients by service rep report

How to create the clients by service rep report create mailing label for client table

  Write down a program on visual basic format

Write down a program on visual basic format

  Write a research report on design of a cisco router

Systems research and investigate novel ideas and applications.

  Findout which one is false statement

Findout which one is false statement.

  What is microprocessor - motorola 68k assembly language

What is microprocessor - Motorola 68k assembly language? Implement your plan using a user vectored interrupt number 3. Use busy line from the printer to trigger the interrupt. The printer interrupt level is 2. Explain the extra hardware to make t..

  Write a program that reads in a list of positive integers

Write a program that reads in a list of positive integers. Write down a program which asks user to respond to a question by entering either 1 for yes or 2 for no.

  Problem on encryption using a one-round version of des

Problem on encryption using a one-round version of DES.

  Describe python modules and packages

Describe Python modules and packages

  What is the goal to exercises in the bluej textbook

What is the goal to exercises in the BlueJ textbook? For the remains of the course, you will answer the questions posed by BlueJ textbook-you will not require downloading an additional worksheet and filling it in as you did for first four units.

  Aspects of effectiveness and robustness in software

Aspects of effectiveness and robustness in software

  Explain contents of an initially empty avl tree

Explain contents of an initially empty AVL tree

  How to find the number of characters in a string

How to find the number of characters in a string

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