Design a module that accepts 30 or fewer integers from the user- The user tells the system the number of integers that'll be entered before the numbers are accepted. the module displays only 1 occurence of each number entered by the user and returns the highest of all entires to the module that called it.
Example: user enter 8 followed by the integers: 2,3,5,-8,2,3,5,5
the display will be: 2,3,5,-8 and returns the value 5.

Recommended Answers

All 4 Replies

What part do you need help on?

The part with display the occurence once of each number.

Sort the numbers and take it from there.

Thanks ill try that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.