Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 14:30, carter1809
Choose the answers that best complete each sentence. on average, are more expensive than other kinds of postsecondary schools. the cost of room and board includes. to save money, some students attend auniversity in their home state.
Answers: 2
image
Computers and Technology, 24.06.2019 02:00, arubright177
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
image
Computers and Technology, 24.06.2019 09:40, anyar
Healthy study habits are best described as
Answers: 1
image
Computers and Technology, 24.06.2019 15:30, S917564
The idea that, for each pair of devices v and w, there’s a strict dichotomy between being “in range” or “out of range” is a simplified abstraction. more accurately, there’s a power decay function f (·) that specifies, for a pair of devices at distance δ, the signal strength f(δ) that they’ll be able to achieve on their wireless connection. (we’ll assume that f (δ) decreases with increasing δ.) we might want to build this into our notion of back-up sets as follows: among the k devices in the back-up set of v, there should be at least one that can be reached with very high signal strength, at least one other that can be reached with moderately high signal strength, and so forth. more concretely, we have values p1 ≥ p2 ≥ . . ≥ pk, so that if the back-up set for v consists of devices at distances d1≤d2≤≤dk, thenweshouldhavef(dj)≥pj foreachj. give an algorithm that determines whether it is possible to choose a back-up set for each device subject to this more detailed condition, still requiring that no device should appear in the back-up set of more than b other devices. again, the algorithm should output the back-up sets themselves, provided they can be found.\
Answers: 2
Do you know the correct answer?
Create a program in java that does the following:

1) creates an array "student_gpa" of...

Questions in other subjects:

Konu
Mathematics, 18.03.2021 03:00
Konu
Geography, 18.03.2021 03:00