Use the programs that we discussed in the class and the previous lab projects to
ID: 3805184 • Letter: U
Question
Use the programs that we discussed in the class and the previous lab projects to write a program that reads two sequences of random numbers to compute Si and Aifor 20 parts, then compute the average total waiting time in the system and save the result in a file. Use the same random numbers as in Project 1. You need to submit a report that contains: (a) the screen input (10%), (b) a printout of your output file and your program (use loop to write to the file (10%)) file, 20 Wi (10%) and the 20 average Wi (20%), and a graph of part number v.s. average Wi from excel (20%), (c) In the end of your program, output your name and student ID to the file(10%). (d) discuss the logic of your program (20%).
these are the random numbers:
36160 38196 77705 28891 12106 56281 86222 66116 39626 06080 05505 45420 44016 79662 92069 27628 50002 32540 19848 27319 85962 19758 92795 00458 71289 05884 37963 23322 73243 98185 28763 04900 54460 22083 89279 43492 00066 40857 86568 49336 42222 40446 82240 79159 44168 38213 46839 26598 29983 67645
Explanation / Answer
Keep track of the number of valid guesses the user makes and let them know how they did at the end.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.