im a beginner but when i ran the code it lets me input numbers right. so i want to enter as many numbers, and then when i type -1 the program should give me the largest number in the sequence. right...
Type: Posts; User: ripsta
im a beginner but when i ran the code it lets me input numbers right. so i want to enter as many numbers, and then when i type -1 the program should give me the largest number in the sequence. right...
Description of the program: read a sequence of positive integers from terminal. When user types -1, the program will print out the largest number and exit.
i get "the largest number is" only when...
Description of the program: read a sequence of positive integers from terminal. When user types
-1, the program will print out the largest number and exit.
Program mid.java