Advertisement
whitesurge

Test Case Min Max 2

Jan 30th, 2020
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 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)? 99
  7.  
  8. Your list may have numbers between 1 and 1000.
  9. Enter the 1st number: 652
  10. Enter the 2nd number: 214
  11. Enter the 3rd number: 533
  12. Enter the 4th number: 170
  13. Enter the 5th number: 739
  14. Enter the 6th number: 313
  15. Enter the 7th number: 4
  16. Enter the 8th number: 373
  17. Enter the 9th number: 665
  18. Enter the 10th number: 839
  19. Enter the 11th number: 695
  20. Enter the 12th number: 628
  21. Enter the 13th number: 884
  22. Enter the 14th number: 766
  23. Enter the 15th number: 740
  24. Enter the 16th number: 186
  25. Enter the 17th number: 290
  26. Enter the 18th number: 484
  27. Enter the 19th number: 413
  28. Enter the 20th number: 241
  29. Enter the 21th number: 854
  30. Enter the 22th number: 506
  31. Enter the 23th number: 779
  32. Enter the 24th number: 472
  33. Enter the 25th number: 965
  34. Enter the 26th number: 178
  35. Enter the 27th number: 448
  36. Enter the 28th number: 643
  37. Enter the 29th number: 279
  38. Enter the 30th number: 659
  39. Enter the 31th number: 149
  40. Enter the 32th number: 139
  41. Enter the 33th number: 698
  42. Enter the 34th number: 292
  43. Enter the 35th number: 406
  44. Enter the 36th number: 661
  45. Enter the 37th number: 700
  46. Enter the 38th number: 655
  47. Enter the 39th number: 283
  48. Enter the 40th number: 942
  49. Enter the 41th number: 471
  50. Enter the 42th number: 843
  51. Enter the 43th number: 914
  52. Enter the 44th number: 388
  53. Enter the 45th number: 122
  54. Enter the 46th number: 687
  55. Enter the 47th number: 942
  56. Enter the 48th number: 671
  57. Enter the 49th number: 444
  58. Enter the 50th number: 661
  59. Enter the 51th number: 564
  60. Enter the 52th number: 1
  61. Enter the 53th number: 770
  62. Enter the 54th number: 213
  63. Enter the 55th number: 944
  64. Enter the 56th number: 354
  65. Enter the 57th number: 122
  66. Enter the 58th number: 204
  67. Enter the 59th number: 426
  68. Enter the 60th number: 922
  69. Enter the 61th number: 520
  70. Enter the 62th number: 693
  71. Enter the 63th number: 588
  72. Enter the 64th number: 732
  73. Enter the 65th number: 102
  74. Enter the 66th number: 769
  75. Enter the 67th number: 641
  76. Enter the 68th number: 664
  77. Enter the 69th number: 351
  78. Enter the 70th number: 986
  79. Enter the 71th number: 643
  80. Enter the 72th number: 774
  81. Enter the 73th number: 396
  82. Enter the 74th number: 549
  83. Enter the 75th number: 743
  84. Enter the 76th number: 652
  85. Enter the 77th number: 704
  86. Enter the 78th number: 826
  87. Enter the 79th number: 339
  88. Enter the 80th number: 657
  89. Enter the 81th number: 557
  90. Enter the 82th number: 418
  91. Enter the 83th number: 555
  92. Enter the 84th number: 481
  93. Enter the 85th number: 788
  94. Enter the 86th number: 336
  95. Enter the 87th number: 504
  96. Enter the 88th number: 165
  97. Enter the 89th number: 97
  98. Enter the 90th number: 750
  99. Enter the 91th number: 399
  100. Enter the 92th number: 944
  101. Enter the 93th number: 702
  102. Enter the 94th number: 665
  103. Enter the 95th number: 899
  104. Enter the 96th number: 843
  105. Enter the 97th number: 776
  106. Enter the 98th number: 246
  107. Enter the 99th number: 824
  108.  
  109. The list of numbers entered has the following characteristics:
  110. The Median is: 628
  111. The Max is: 986
  112. The Minimum is: 1
  113. The Mean is: 550.283
  114. This list is multimodal. There are 8 modes. The modes are: 122, 643, 652, 661, 665, 843, 942, and 944.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement