-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
18 lines (13 loc) · 851 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
**************** READ ME ****************************************************
Project 4 for Data Structures COP3530
by Katarina Capalbo
Student ID: n01399315
Date: 6/28/2019
*****Description:************************************************************
CountOccurrenceOfNumbers.java:
* This program reads an unspecified number of integers and finds the one that has the most occurrences.
* The input ends when the input is 0. For example, if you entered 2 3 40 3 5 4 –3 3320, the number 3 occurred most often.
* If not one but several numbers have the most occurrences, all of them should be reported. For example, since 9 and 3 appear
* twice in the list 9 30 3 9 3 2 4, both occurrences should be reported.
****** EXPECTED OUTPUT ******************************************************
See "Expected Output.png" file.