Advertisement
whitesurge

Test Case Min Max 3

Jan 30th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 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: 693
  10. Enter the 2nd number: 684
  11. Enter the 3rd number: 174
  12. Enter the 4th number: 266
  13. Enter the 5th number: 168
  14. Enter the 6th number: 539
  15. Enter the 7th number: 637
  16. Enter the 8th number: 897
  17. Enter the 9th number: 103
  18. Enter the 10th number: 467
  19. Enter the 11th number: 721
  20. Enter the 12th number: 975
  21. Enter the 13th number: 323
  22. Enter the 14th number: 603
  23. Enter the 15th number: 902
  24. Enter the 16th number: 115
  25. Enter the 17th number: 260
  26. Enter the 18th number: 858
  27. Enter the 19th number: 506
  28. Enter the 20th number: 551
  29. Enter the 21th number: 534
  30. Enter the 22th number: 192
  31. Enter the 23th number: 824
  32. Enter the 24th number: 950
  33. Enter the 25th number: 541
  34. Enter the 26th number: 995
  35. Enter the 27th number: 960
  36. Enter the 28th number: 351
  37. Enter the 29th number: 230
  38. Enter the 30th number: 944
  39. Enter the 31th number: 257
  40. Enter the 32th number: 49
  41. Enter the 33th number: 156
  42. Enter the 34th number: 136
  43. Enter the 35th number: 28
  44. Enter the 36th number: 979
  45. Enter the 37th number: 184
  46. Enter the 38th number: 129
  47. Enter the 39th number: 943
  48. Enter the 40th number: 624
  49. Enter the 41th number: 612
  50. Enter the 42th number: 928
  51. Enter the 43th number: 896
  52. Enter the 44th number: 511
  53. Enter the 45th number: 920
  54. Enter the 46th number: 233
  55. Enter the 47th number: 879
  56. Enter the 48th number: 319
  57. Enter the 49th number: 199
  58. Enter the 50th number: 26
  59. Enter the 51th number: -503
  60. Please enter a valid number between 1 and 1000!
  61. Enter the 51th number: -215
  62. Please enter a valid number between 1 and 1000!
  63. Enter the 51th number: -355
  64. Please enter a valid number between 1 and 1000!
  65. Enter the 51th number: -596
  66. Please enter a valid number between 1 and 1000!
  67. Enter the 51th number: -654
  68. Please enter a valid number between 1 and 1000!
  69. Enter the 51th number: -364
  70. Please enter a valid number between 1 and 1000!
  71. Enter the 51th number: -13
  72. Please enter a valid number between 1 and 1000!
  73. Enter the 51th number: -425
  74. Please enter a valid number between 1 and 1000!
  75. Enter the 51th number: -933
  76. Please enter a valid number between 1 and 1000!
  77. Enter the 51th number: -618
  78. Please enter a valid number between 1 and 1000!
  79. Enter the 51th number: 1761
  80. Please enter a valid number between 1 and 1000!
  81. Enter the 51th number: 1254
  82. Please enter a valid number between 1 and 1000!
  83. Enter the 51th number: 1944
  84. Please enter a valid number between 1 and 1000!
  85. Enter the 51th number: 1989
  86. Please enter a valid number between 1 and 1000!
  87. Enter the 51th number: 1695
  88. Please enter a valid number between 1 and 1000!
  89. Enter the 51th number: 1866
  90. Please enter a valid number between 1 and 1000!
  91. Enter the 51th number: 1860
  92. Please enter a valid number between 1 and 1000!
  93. Enter the 51th number: 1509
  94. Please enter a valid number between 1 and 1000!
  95. Enter the 51th number: 1138
  96. Please enter a valid number between 1 and 1000!
  97. Enter the 51th number: 1547
  98. Please enter a valid number between 1 and 1000!
  99. Enter the 51th number: 180
  100. Enter the 52th number: 863
  101. Enter the 53th number: 799
  102. Enter the 54th number: 451
  103. Enter the 55th number: 345
  104. Enter the 56th number: 896
  105. Enter the 57th number: 770
  106. Enter the 58th number: 760
  107. Enter the 59th number: 501
  108. Enter the 60th number: 225
  109. Enter the 61th number: 600
  110. Enter the 62th number: 356
  111. Enter the 63th number: 250
  112. Enter the 64th number: 965
  113. Enter the 65th number: 614
  114. Enter the 66th number: 561
  115. Enter the 67th number: 636
  116. Enter the 68th number: 316
  117. Enter the 69th number: 299
  118. Enter the 70th number: 284
  119. Enter the 71th number: 936
  120. Enter the 72th number: 139
  121. Enter the 73th number: 523
  122. Enter the 74th number: 830
  123. Enter the 75th number: 986
  124. Enter the 76th number: 803
  125. Enter the 77th number: 454
  126. Enter the 78th number: 151
  127. Enter the 79th number: 18
  128. Enter the 80th number: 831
  129. Enter the 81th number: 588
  130. Enter the 82th number: 1
  131. Enter the 83th number: 692
  132. Enter the 84th number: 922
  133. Enter the 85th number: 334
  134. Enter the 86th number: 644
  135. Enter the 87th number: 563
  136. Enter the 88th number: 522
  137. Enter the 89th number: 636
  138. Enter the 90th number: 935
  139. Enter the 91th number: 39
  140. Enter the 92th number: 509
  141. Enter the 93th number: 35
  142. Enter the 94th number: 272
  143. Enter the 95th number: 261
  144. Enter the 96th number: 945
  145. Enter the 97th number: 254
  146. Enter the 98th number: 742
  147. Enter the 99th number: 234
  148.  
  149. The list of numbers entered has the following characteristics:
  150. The Median is: 534
  151. The Max is: 995
  152. The Minimum is: 1
  153. The Mean is: 519.606
  154. This list is multimodal. There are 2 modes. The modes are: 636 and 896
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement