answersLogoWhite

0

public class TestScores10{

11 public static void main (String [] args);

12

13 {

14 Scanner keyboard = new Scanner(System.in);

15

16 //Variables for Program

17

18 double TestScore1 = 0.0;

19 double TestScore2 = 0.0;

20 double TestScore3 = 0.0;

21 double TestScore4 = 0.0;

22 double TestScore5 = 0.0;

23 double averageScore;

24

25

26 //Prompts for user input

27

28 System.out.println("Please enter Test Score 1: ");

29

30 System.out.println("Please enter Test Score 2: ");

31

32 System.out.println("Please enter Test Score 3: ");

33

34 System.out.println("Please enter Test Score 4: ");

35

36 System.out.println("Please enter Test Score 5: ");

37

38 System.out.println("Your average is: ");

39 averageScore = (TestScore1 + TestScore2 + TestScore3

40 + TestScore4 + TestScore5 / 5);

41 }

42

43}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you create a program that will allow me to input students scores and weights and the program should then calculate a weighted average and score based on the date inputted by the user?

To create a program that calculates a weighted average based on student scores and weights, you can use a programming language like Python. First, prompt the user to input the number of students, then use a loop to gather each student's score and weight. After collecting the data, calculate the weighted average using the formula: (sum of (score * weight)) / (sum of weights). Finally, display the calculated weighted average to the user.


What is the average for the following scores 74 83?

To calculate the average of the scores 74 and 83, you add the two scores together and then divide by the number of scores. So, (74 + 83) / 2 = 157 / 2 = 78.5. Therefore, the average of the scores is 78.5.


Given that Evelina's bowling scores were 133 155 176 and 132 find her average score The rule for calculating the average of a set of scores is Average Score equals Sum of Scores Number of Scores?

149


What is the average GRE score for Georgia Tech?

The average GRE score for admitted students at Georgia Tech typically falls around 310-320. However, specific scores can vary by program and discipline, with engineering and technical programs often expecting higher scores. It's essential to check the latest data from the specific program you are interested in for the most accurate information.


The mean of a distribution of scores is the?

The mean of a distribution of scores is the average.


How would you average an average?

You would add all the numbers or scores out and then divide by how many scores you added.


What is the average GRE score at northwestern university?

As of my last update, the average GRE scores for admitted students at Northwestern University can vary by program, but typically fall around 320-330 for combined verbal and quantitative sections. Specific programs may have different average scores, so it's best to check the individual program's admissions statistics for the most accurate information. Always refer to the university's official admissions website for the latest data.


Adding all the scores and dividing that total by the number of scores?

Adding all the scores and dividing by the number of scores yields the mean or average.


What is the average points per quarter that a NBA team scores?

24 is the average points per quarter that an MBA team scores.


What are the average lumosity scores of participants in the study?

The average Lumosity scores of participants in the study were calculated to determine their cognitive performance levels.


Average gpa scores?

3.50


What gia scores are average?

The General Intelligence Assessment (GIA) scores typically range from 0 to 100, with an average score around 70-80. Scores are often categorized, with anything above 90 considered above average and scores below 60 indicating below-average intelligence. However, it's important to note that these scores can vary based on the specific test and its population norms.