Write a program to read a sequence of positive integers, one per line, and print the maximal value of this list. End of data will be signaled by typing a value of 0. This program was discussed in class on Monday (or perhaps Wednesday depending on how far we got.)
For example if the data consists of
3
17
2
35
9
0
then the output should be
The largest value is: 35