โ Back to User Input
Question 316
Convert Input to Uppercase
Convert Input to Uppercase
Read a single word from standard input usingsc.next()and print it entirely in uppercase letters. For example, if the input ishello, print: HELLO Use the.toUpperCase()method.
Expected Output:
HELLO
Topics:
User Input
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.