Problems

Largest of Three

EasyJavaScript Basics

Read three integers, one per line, and print the largest.

Input: three lines, each an integer. Output: the maximum value.

Your program reads from stdin and prints to stdout.

Example 1

Input: 1 2 3

Output: 3

Hints

JavaScriptConditionals