1. Create a script that will find the Z-value from the "Distribution.txt" (Pseudo Code Required) Z 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0.00 0.5000 0.5398 0.5793 0.6179 0.6217 0.6554 0.6591 0.6915 0.7257 0.7291 0.7324 0.7580 0.7611 0.7642 0.7910 0.7939 0.7881 0.8159 0.8186 0.8212 0.8413 0.8438 0.8461 0.8643 0.8665 0.8686 0.8849 0.8869 0.8888 09032 09010 nance 0.01 0.5040 0.02 0.5080 0.5438 0.5478 0.5832 0.5871 0.6255 0.6628 0.09 0.5359 0.5753 0.6141 0.6517 0.6736 0.6879 0.7088 0.7123 0.7157 0.7190 0.6950 0.6985 0.7019 0.7054 0.7224 0.7357 0.7389 0.7422 0.7454 0.7486 0.7517 0.7549 0.7673 0.7704 0.7734 0.7764 0.7794 0.7823 0.7852 0.7967 0.7995 0.8023 0.8051 0.8078 0.8106 0.8133 0.8389 0.8599 0.8621 0.8830 0.9015 00163 09177 0.03 0.5120 0.5517 0.5910 0.6293 0.6664 0.8238 0.8485 0.8708 8907 0.04 0.05 0.5160 0.5199 0.5557 0.5948 0.6331 0.6700 0.8907's Z- Value is 1.2+0.03 = 1.23 0.5596 0.5987 0.6368 0.06 0.07 0.08 0.5239 0.5279 0.5319 0.5636 0.5675 0.5714 0.6026 0.6064 0.6103 0.6406 0.6443 0.6480 0.6772 0.6808 0.6844 0.8264 0.8289 0.8315 0.8508 0.8531 0.8729 0.8749 0.8925 0.8944 nanga 09115 0.8340 0.8365 0.8554 0.8577 0.8770 0.8962 09131 0.8790 0.8810 0.8980 0.8997 09147 Ex) Take for example, the user should be prompted to type in a certain number (i.e 0.8907), then the program should search the Distribution.txt file and pop out the following message "0.8907's Z-value is 1.23". If the user typed in 0.6368, the message of "0.6368's Z-value is 0.35"
C PROGRAMMING ONLY PLEASE! NO IOSTREAM.H OR CACIO.H PLEASE! ATTACHED PNG IS THE QUESTION AND I HAVE THE REQUIRED TXT FILE PASTED BELOW, THANK YOU!:
Distribution.txt:
0.5 0.50399 0.50798 0.51197 0.51595 0.51994 0.52392 0.5279 0.53188 0.53586
0.5398 0.5438 0.54776 0.55172 0.55567 0.55966 0.5636 0.56749 0.57142 0.57535
0.5793 0.58317 0.58706 0.59095 0.59483 0.59871 0.60257 0.60642 0.61026 0.61409
0.61791 0.62172 0.62552 0.6293 0.63307 0.63683 0.64058 0.64431 0.64803 0.65173
0.65542 0.6591 0.66276 0.6664 0.67003 0.67364 0.67724 0.68082 0.68439 0.68793
0.69146 0.69497 0.69847 0.70194 0.7054 0.70884 0.71226 0.71566 0.71904 0.7224
0.72575 0.72907 0.73237 0.73565 0.73891 0.74215 0.74537 0.74857 0.75175 0.7549
0.75804 0.76115 0.76424 0.7673 0.77035 0.77337 0.77637 0.77935 0.7823 0.78524
0.78814 0.79103 0.79389 0.79673 0.79955 0.80234 0.80511 0.80785 0.81057 0.81327
0.81594 0.81859 0.82121 0.82381 0.82639 0.82894 0.83147 0.83398 0.83646 0.83891
0.84134 0.84375 0.84614 0.84849 0.85083 0.85314 0.85543 0.85769 0.85993 0.86214
0.86433 0.8665 0.86864 0.87076 0.87286 0.87493 0.87698 0.879 0.881 0.88298
0.88493 0.88686 0.88877 0.89065 0.89251 0.89435 0.89617 0.89796 0.89973 0.90147
0.9032 0.9049 0.90658 0.90824 0.90988 0.91149 0.91308 0.91466 0.91621 0.91774
0.91924 0.92073 0.9222 0.92364 0.92507 0.92647 0.92785 0.92922 0.93056 0.93189
0.93319 0.93448 0.93574 0.93699 0.93822 0.93943 0.94062 0.94179 0.94295 0.94408
0.9452 0.9463 0.94738 0.94845 0.9495 0.95053 0.95154 0.95254 0.95352 0.95449
0.95543 0.95637 0.95728 0.95818 0.95907 0.95994 0.9608 0.96164 0.96246 0.96327
0.96407 0.96485 0.96562 0.96638 0.96712 0.96784 0.96856 0.96926 0.96995 0.97062
0.97128 0.97193 0.97257 0.9732 0.97381 0.97441 0.975 0.97558 0.97615 0.9767
0.97725 0.97778 0.97831 0.97882 0.97932 0.97982 0.9803 0.98077 0.98124 0.98169
0.98214 0.98257 0.983 0.98341 0.98382 0.98422 0.98461 0.985 0.98537 0.98574
0.9861 0.98645 0.98679 0.98713 0.98745 0.98778 0.98809 0.9884 0.9887 0.98899
0.98928 0.98956 0.98983 0.9901 0.99036 0.99061 0.99086 0.99111 0.99134 0.99158
0.9918 0.99202 0.99224 0.99245 0.99266 0.99286 0.99305 0.99324 0.99343 0.99361
0.99379 0.99396 0.99413 0.9943 0.99446 0.99461 0.99477 0.99492 0.99506 0.9952
0.99534 0.99547 0.9956 0.99573 0.99585 0.99598 0.99609 0.99621 0.99632 0.99643
0.99653 0.99664 0.99674 0.99683 0.99693 0.99702 0.99711 0.9972 0.99728 0.99736
0.99744 0.99752 0.9976 0.99767 0.99774 0.99781 0.99788 0.99795 0.99801 0.99807
0.99813 0.99819 0.99825 0.99831 0.99836 0.99841 0.99846 0.99851 0.99856 0.99861
0.99865 0.99869 0.99874 0.99878 0.99882 0.99886 0.99889 0.99893 0.99896 0.999
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images