subject

Array testgrades contains num. vals test scores. write a for loop that sets sumextra to the total extra credit received. full credit is 100, so anything over 100 is extra credit. ex: if testgrades (101,83, 107,90), then sumextra 8, because 1+0+7+0 is 8

import java. util. scanner; 3 public class sumofexcess ( 4 public static void main (string [ args) ( scanner scnr -new scanner (system. in); final int num vals -4 int[] testgrades-new int[num vals]; int ij int sunextra ; 11 assign sunextra with 0 before your for loop 10 for (i-0; ǐ < testgrades. length; +.1) { testgrades[1]-scnr. nextint) 12 14 15 / your solution goes here 16 system. out. printin("sumextra: sumextra);

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:31, genyjoannerubiera
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
image
Computers and Technology, 23.06.2019 12:30, umimgoingtofail
What is the difference between the internet and the world wide web?
Answers: 1
image
Computers and Technology, 23.06.2019 13:00, dimondqueen511
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
image
Computers and Technology, 24.06.2019 00:00, amy7233
Afashion designer wants to increase awareness about her brand. which network can she use and why she can use the blank to blank her products online. answers for the first blank: internet, extranet, or intranet answers for the second blank: market, design, and export
Answers: 1
You know the right answer?
Array testgrades contains num. vals test scores. write a for loop that sets sumextra to the total ex...

Questions in other subjects:

Konu
Biology, 22.09.2019 07:00