subject

Create a program in java that does the following:

1) creates an array "student_gpa" of size 10 and contains the current gpa of 10 students (assume the gpa is in the range 0-4).

2) computes the percentage of students that get scholarship because their gpa is at least 3.5

3) computes the average gpa of all students.

4) computes the average gpa of the students with scholarship.

5) computes the average gpa of the students without scholarship.

requirements:

a) you must include a "for" loop in answering the parts 2,3,4,5

b) you must not create any additional array besides "student_gpa". you may create individual variables to store the answers of questions 2,3,4,5.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
question
Computers and Technology, 24.06.2019 02:50
Be sure to answer all parts. synthesize the following compound from benzene. a. b. c. d. e. f. reaction [1] conditions: a b c d e f reaction [1] product: draw structure reaction [2] conditions: a b c d e f reaction [2] product: draw structure reaction [3] conditions: a b c d e f reaction [3] product:
Answers: 3
question
Computers and Technology, 24.06.2019 17:50
You work in the accounting department and have been using a network drive to post excel workbook files to your file server as you complete them. when you attempt to save a workbook file to the drive, you see the error message: “you do not have access to the folder ‘j: \’. see your administrator for access to this folder.” what should you do first
Answers: 2
You know the right answer?
Create a program in java that does the following:

1) creates an array "student_gpa" of...
Questions
question
History, 08.01.2020 08:31
question
Mathematics, 08.01.2020 08:31
question
Mathematics, 08.01.2020 08:31
Questions on the website: 13722363