Make a java application containing an array

Assignment Help Computer Engineering
Reference no: EM1335205

1. Create a Java application containing an array that stores 20 double values, such as 2.34, 7.89, 1.34, and so on. The application (MyArray.java) should:

- Display the sum of all the array elements.
- Display the average of all the array elements.
- Display the largest value of all the array elements.

Do not use operator input to set the values in the array. Use a loop to discover the values requested above.

2. Create a JApplet with a JButton labeled "Who's number one?". When the user clicks the button, display your favorite sports team. Save the file as JNumberOne.java .

Reference no: EM1335205

Questions Cloud

Show the evaluation of a training program : Evaluating a Training Program - Show the importance of conducting an evaluation of a training program.
Explain wrigley price setting and temporaray promotions : Explain Wrigley Price setting and temporaray promotions and expected profits
Goal of increasing capacity for passengers in hong kong area : Given the goal of increasing capacity for passengers and cargo in the Hong Kong area, what options were available?
English law and correction rules : Would like opinion and assists with websites to Learn more about the English law and correctional rules.
Make a java application containing an array : design a JApplet with a JButton labeled "Who's number one?". When the user clicks the button, display your favorite sports team. Save the file as JNumberOne.java .
Prepare a paper to discuss the staff engagement : Staff engagement - Prepare a paper to discuss the staff engagement in the banking industry.
The basic idea as per the solow model technological advance : The basic Idea as per the Solow model and its relationship with technological advance. What will add to capital stock and detract from it.
Efficiency techniques when attempting to maximize profits : How do efficiency techniques differ in the short versus long run when attempting to maximize profits?
Evalute the buying price and the current price of each stock : After the table is displayed, print out the stock with the highest profit if sold and its position in the array[row][column].evalute the buying price and the current price of each stock.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Queries in relational algebra

Queries in relational algebra.

  Translate following c++ program to pep/8 assembly language

Translate following C++ program to Pep/8 assembly language

  Problem on network design

You're asked to design a network for use in the training environment. It should be mobile, easy to set up, and simple to tear down. Speed is not an issue. Develop the network design that accommodates these requirements and keeps costs down.

  Explain the osi model and data frames

Why should network architects concern themselves.

  Implementing class diagram

Design a class diagram representing a book described by the following statement. “A book comprises of the number of parts that in turn are composed of the number of chapters.

  Show a letter grade based upon the average

In this script, convert pseudocode that uses a decision structure into a shell script. The script then will accept three grades, calculate an average, and then display a letter grade based upon the average.You will need to use either the if statem..

  Define the types of the expressions

Using no other objects besides those already declared, how may you alter ptrPtr so that is points to a pointer to b without directly touching ptr?

  What are the most effective ways to filter data

what are the others ways to secure data on a wired or wireless network.

  What is the significance of optimizing the design

What is the significance of optimizing the design

  What is the windows server 2003 and windows xp

Habibi's IT department wants to install Office 2003 and certain proprietary applications at each location as efficiently as possible. IT wants the applications to automatically repair themselves if they get corrupted. What must be completed to mak..

  Express the process of customer identification

Then, customer brings the videos to the front desk where an attendant identifies the customer using customer's ID Card, checks the customer's records in the system, and then enters information about rented videos into the system.

  How many ways a committee of 4 people can be choosen

The question of how various ways a committee of 4 people can be selected from a group of 10 is known as a combination. The notation in general for counting the number of ways of selecting r items from a group of n is C(n,r) = n! / r!(n-r)!

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