If the keyboard input is 15, what is the value of score after this code executes? Scanner sc = new Scanner(System.in); int score = 80; System.out.print("Enter a score value: "); int input = sc.nextInt(); if (input < 10) {     score = 50; } else if (input >= 10 && input <= 20) {     score = 60; } else {     score = 70; } score = score + 5; System.out.println("Final Score: \t" + score);Single choice

A

65

B

60

C

50

D

70

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

Similar Questions

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!