Find the Mean and Mode of Numbers

Given a list of integers, find the mean and mode of the numbers. The input consists of an integer N, representing the length of the list followed by N integers. The output should be the mean and mode,...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: