Advertisement
whitesurge

Test Case Min Max 5

Jan 30th, 2020
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 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)? 26
  7.  
  8. Your list may have numbers between 1 and 1000.
  9. Enter the 1st number: 669
  10. Enter the 2nd number: 719
  11. Enter the 3rd number: 524
  12. Enter the 4th number: 925
  13. Enter the 5th number: 252
  14. Enter the 6th number: 759
  15. Enter the 7th number: 205
  16. Enter the 8th number: 821
  17. Enter the 9th number: 20
  18. Enter the 10th number: 526
  19. Enter the 11th number: 315
  20. Enter the 12th number: 915
  21. Enter the 13th number: 945
  22. Enter the 14th number: 97
  23. Enter the 15th number: 388
  24. Enter the 16th number: 494
  25. Enter the 17th number: 745
  26. Enter the 18th number: 307
  27. Enter the 19th number: 210
  28. Enter the 20th number: 725
  29. Enter the 21th number: 454
  30. Enter the 22th number: 209
  31. Enter the 23th number: 673
  32. Enter the 24th number: 564
  33. Enter the 25th number: 504
  34. Enter the 26th number: 786
  35.  
  36. The list of numbers entered has the following characteristics:
  37. The Median is: 524 and/or 526
  38. The Max is: 945
  39. The Minimum is: 20
  40. The Mean is: 528.885
  41. This list is multimodal. There are 26 modes. The modes are: 20, 97, 205, 209, 210, 252, 307, 315, 388, 454, 494, 504, 524, 526, 564, 669, 673, 719, 725, 745, 759, 786, 821, 915, 925, and 945.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement