Advertisement
whitesurge

Test Case Min Max 4

Jan 30th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. Adam Sturge CIST004B Spring 2020
  2.  
  3. Minimum, Maximum, Mean, Median and Mode Calculator
  4. with extra polish and multimodal support.
  5.  
  6. How many numbers are in your list (1 to 100)? 13
  7.  
  8. Your list may have numbers between 1 and 1000.
  9. Enter the 1st number: 378
  10. Enter the 2nd number: 171
  11. Enter the 3rd number: 166
  12. Enter the 4th number: 835
  13. Enter the 5th number: 21
  14. Enter the 6th number: 74
  15. Enter the 7th number: 852
  16. Enter the 8th number: 137
  17. Enter the 9th number: 465
  18. Enter the 10th number: 490
  19. Enter the 11th number: 821
  20. Enter the 12th number: 497
  21. Enter the 13th number: 970
  22.  
  23. The list of numbers entered has the following characteristics:
  24. The Median is: 465
  25. The Max is: 970
  26. The Minimum is: 21
  27. The Mean is: 452.077
  28. This list is multimodal. There are 13 modes. The modes are: 21, 74, 137, 166, 171, 378, 465, 490, 497, 821, 835, 852, and 970.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement