Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In java please Objectives: In this lab, the following topic will be covered: 1. Text I/O Task Write a program that generates random letter grades

image text in transcribed

In java please

Objectives: In this lab, the following topic will be covered: 1. Text I/O Task 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+ B+ B D+ 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+ FCAD 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions