Question: Java Write a program to generate 1000 random grades between 70 and 100, print them, then print out how many times each grade LO6 U
Write a program to generate 1000 random grades between 70 and 100, print them, then print out how many times each grade LO6 U has occurred. Requirements You must use a constant called TRIALS. You must use an array for counting the occurrences. No magic numbers are to be used. The constructor method for Random) must use the seed 12345. Your output must match the required output 100%, number for number, letter for letter, new line for new line. All code must be in main0, do not create any methods. . . Required Output 84 95 93 91 73 9e 82 83 95 78 87 81 88 97 99 93 95 71 88 72 78 86 97 92 77 7e 76 96 92 74 95 93 79 93 70 97 80 83 77 96 83 74 85 71 84 72 71 92 96 92 10e 108 83 74 99 92 98 95 71 82 9e 71 83 83 89 92 77 83 74 96 77 90 92 80 86 86 77 84 91 89 81 81 73 82 70 77 93 74 86 73 99 98 97 70 98 92 72 80 71 95 95 75 93 88 94 8572 76 93 74 99 71 95 82 86 86 76 77 72 73 78 95 88 93 72 75 76 98 72 73 84 87 73 71 74 94 70 97 78 85 87 83 72 85 80 90 98 74 72 75 71 78 83 88 u 89 87 85 81 82 81 94 84 91 79 85 74 90 92 72 80 2 98 77 71 88 90 98 98 84 89 98 96 80 89 90 81 70 93 93 70 90 98 79 81 75 72 76 73 96 82 70 80 96 90 85 84 79 83 89 97 71 87 79 72 99 85 85 97 87 71 73 78 99 77 92 85 92 88 73 92 73 86 91 91 94 92 92 81 94 97 77 76 82 95 73 98 97 72 70 80 73 83 74 94 76 71 93 90 70 89 80 96 96 98 91 9499 85 75 93 95 70 88 97 97 81 85 74 99 95 70 92 97 80 78 100 88 81 80 70 100 95 74 91 72 100 78 70 85 83 74 97 96 93 80 85 78 76 75 82 82 89 94 77 89 100 93 7477 84 97 99 77 85 80 87 99 83 84 98 98 90 99 82 98 71 76 98 95 70 70 78 72 97 73 92 73 75 79 84 99 94 73 93 72 85 79 74 86 71 79 78 70 90 83 78 93 98 76 75 72 88 80 94 77 85 72 98 92 76 79 97 72 92 89 70 98 100 88 78 80 91 88 89 87 73 79 82 93 77 92 90 72 73 77 90 88 97 76 92 78 95 98 92 96 82 89 86 84 100 87 81 87 99100 70 93 77 88 82 75 85 93 98 73 90 81 99 95 77 91 80 79 77 70 92 74 99 90 71 98 83 87 89 83 72 97 73 72 76 85 85 96
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
