Week 4 - assignment

profilejamsession

Hello,


Take a look at this and let me know if this is something you are able to do. Read the instructions before accepting my bid.


 

Prior to beginning work on this assignment review figure 2.3 in Chapter 2 in the textbook, and review any relevant information in this week’s lecture.

Begin by accessing your Java platform within your virtual lab environment and include the following elements:

  • Create a Java program to accept input for the following two variables: (a) Students and (b) Scores.
  • Create a repetitive loop so the program will ask the user if another entry is desired until the user indicates “No.”
  • Create a variable that will compute the average score for an entire class.
  • Create a variable that will assign a letter grade based on the student’s score using the chart below.
  • Create a variable that will list the number of students who received each of the following grade ranges: A, B, C, D, and F. (Note that “+” and “-” grades fall within the general letter grade range.)

Letter Grade

Percent

A

0.93

A-

0.90

B+

0.87

B

0.83

B-

0.80

C+

0.77

C

0.73

C-

0.70

D+

0.67

D

0.63

D-

0.60


The following is an example of the formula for calculating a letter grade:
If score divided by 100% is greater or equal to 0.93 then assign the letter grade of A.

    • 7 years ago
    • 40
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      Java.pdf