Assignment 2

Due Feb 15 at midnight
Cutoff Feb 18 at midnight

Write a program to read a sequence of negative integers, one per line, and print the maximal value of this list. End of data will be signaled by typing a value of 0

For example if the data consists of
-3
-17
-2
-35
-9
0

then the output should be

The largest value is: -2