Question: the topic is Text I/O he want to generat random numper of grades between 30 and 50 then write it in a text then read

the topic is Text I/O he want to generat random numper ofthe topic is

  1. Text I/O
  2. he want to generat random numper of grades between 30 and 50 then write it in a text then read it and print it as the sample run above , he want the numper of random grade as an input from the user berween 30 and 50
  3. "the number is random , the grades is random

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+ D+ D F W WP WF DN Generate randon umber 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+ DF DN WP WP C+ F WW C+ C+ DNC Letter grades found in the file = 39 W

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!