Write a program that repeatedly reads in integers until a negative integer is read. The program also keeps track of the largest integer that has been read so far and outputs the largest integer at the end.
What help is required? What don't you understand/am having a problem with? Can you read an integer from the console? Do you know about looping? Post your current code so that we can comment further.