Question: Write this in JAVA , show the code pic written and output Write a program that generates random letter grades in the file LetterGrades.txt. The
Write this in JAVA , show the code pic written and output

Write a program that generates random letter grades in the file "LetterGrades.txt". The number of letter grades is also random. The possible letter grades are: Letter Grade A+ A B+ B C+ D F w WP WF DN Generate random number of letter grades between 30 and 50 Display the number of grades to be generated Generate the letter grades and write them to the file "LetterGrades.txt" Read them from the file and print them on the screen without countint Sample run: number of letter grades generated = 39 B+ B A D+ C+ DAC B+ F CAD B+ A+ C WP B+ DN C+ W D+ D+ F C B+ DE DN WP WP C+ FWW C+ C+ DN C Letter grades found in the file = 39
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
