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, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
question
Computers and Technology, 24.06.2019 09:30
Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); system.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior to sending the first ping request
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
Chemistry, 18.08.2019 15:50
question
Mathematics, 18.08.2019 15:50
question
Mathematics, 18.08.2019 15:50
question
Mathematics, 18.08.2019 15:50