Write a java program that calculates average of math

Assignment Help Computer Engineering
Reference no: EM132200778

Question :

Write a java program that calculates average of math, science grade as well as total class average. The class gets following math and science grade of mid-term:

MATH

SCIENCE

80.5

25.5

100

92.5

75.0

65.5

82.3

79.6

35.9

22.7

73.6

66.2

88.9

98.7

46.2

62.3

100

100

97.8

99.5

Your program should meet following requiements:

1. The program must declare two-dimensional array to save all data above.

2. The program must use nested for loop to calculate math, and science average as well as total class average.

3. The program only allow two decimal palces. (Example: 25.54)

Sample Run:

Class Average: 74.64

Math Average: 78.02

Science Average: 71.25

Reference no: EM132200778

Questions Cloud

Write a java program of the implementation of a linked list : Write a Java program of the implementation of a linked list. The program includes lList.java and lListTester.java.
Given a tiny computer that has a word size of 6 bits : Given a tiny computer that has a word size of 6 bits, what is the smallest negative number this computer can represent ones complement?
Implement a superclass appointment and subclasses onetime : Implement a superclass Appointment and subclasses Onetime, Daily, and Monthly. An appointment has a description and a date.
Should the money be invested : Suppose that a town is considering investing money into making a public show in a park that can be enjoyed by families during a weekend.
Write a java program that calculates average of math : Write a java program that calculates average of math, science grade as well as total class average.
Remain valid for periods longer than they are needed : Which web session vulnerability is directly associated with sessions that remain valid for periods longer than they are needed?
Write java a program that asks the user to enter a number : Write JAVA a program that asks the user to enter a number. Display the following pattern by writing lines of asterisks.
Protection of its customer information : How might an organization notify its users that all communications are being monitored and preserved? How will end users typically respond to such announcements
A program that asks the user for an amount of money : Write a JAVA program that asks the user for an amount of money (entered in cents) and then tells the user how to make change.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Implement a method string insert that returns a string

Using java We wish to implement a method String insert(char c, String s) that returns a string with c inserted in the correct position in already sorted String.

  Find out the level and commission using the table

Write down a c++ program that accepts the name and sales of a salesperson. Using IF statement, determine the level and commission using the table.

  Strategic applications of information technology

Strategic applications of information technology, Prepare a final report

  What are primary functions of an internet web page server

What are the nine most common groups of network utility software? What are the primary functions of an Internet Web page server?

  Should the government set a maximum wage

Should the government set a maximum wage? How would you respond? Can you defend the assumption that you have rights?

  What are the types of new ethernet equipment

An older network using 10baseT technology needs an upgrade. The network contains a total of 220 workstations and 10 servers and has a network diameter of 300 meters. What type of new Ethernet equipment would you suggest be purchase to modernize th..

  Write a function named compute_pythagoreans

Write a function named compute_Pythagoreans that takes one positive int argument n and returns a list with tuples.

  Include any information that you think will be useful in

as a network manager in a medium-size corporation it is your responsibility to use a proactive approach to providing

  Discuss link state and distance vector routing types

Write essay on several examples of link state and distance vector routing types

  What are the constraints on this residual frequency error

Show that pilot symbols can be used to track both fading and small residual frequency errors in receiver. What are constraints on this residual frequency error?

  Compute greatest common divisor using recursion

Write a test program that prompts the user to enter an index and displays its Fibonacci number.

  Create a function that pulls a sound from a url using urllib

Create a function that pulls a sound from a URL using urllib and creates a sound clip saved on your local machine.

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