Write a program that reads integers, finds the largest and counts the occurrences. Assume that when the user enters it ends the sequence.
3 5 5 5 0
Largest : 5
Occurrences : 3
I can't use arrays .
I know I'm suppose to use loops but I can't just figure it out . I would greatly appreciate any help !