subject

You should fill in the blank in the following code with class test {public static void main(string[] args) {system. out. print("the grade is "); printgrade(78.5); system. out. print("the grade is "); printgrade(59.5); }public static printgrade(double score) {if (score > = 90.0) {system. out. println('a'); }else if (score > = 80.0) {system. out. println('b'); }else if (score > = 70.0) {system. out. println('c'); }else if (score > = 60.0) {system. out. println('d'); }else {system. out. println('f'); }}}a. int. b. double. c. boolean. d. char. e. void.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings starting from index 0. for each match, add one point to userscore. upon a mismatch, exit the loop using a break statement. assume simonpattern and userpattern are always the same length. ex: the following patterns yield a userscore of 4: simonpattern: rrgbryybgy userpattern: rrgbbrybgy
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
How do you take a green screen out of the video while editing?
Answers: 2
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
You know the right answer?
You should fill in the blank in the following code with class test {public static void main(string[...
Questions
question
Mathematics, 21.10.2020 06:01
question
Mathematics, 21.10.2020 06:01
Questions on the website: 13722363