CJCoding With Joseph

Greatest of Three (Input)

Read three integers a, b, and c from standard input and print the greatest of the three using this exact wording:

The greatest is <value>

For the input 3 9 5 the output is:

The greatest is 9

Expected Output:

The greatest is 9
Topics:
If Statements
๐Ÿ“ฅ Auto-Input:
3 9 5\n
This input is automatically fed to your program's stdin
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.