Course Hero Logo
Question

Must create programs that use a while , for and an until loop with...

Must create programs that use a while, for and an until loop with the following parameters:

1)    Teacher's name

2)    Today's date

3)    Ask the for test scores from a final exam.

a.    If a user fails, (< 60) then enter the student's name and pass this out to text file called needsHelp.txt

b.    If a user passes with flying colors (> 90) then enter the student's name and pass this out to a text file called bestOf.txt

4)    Scores must be between 0 and 100

5)    Scores cannot be null (nothing)

6)    Have the user enter a sentinal value to quit

7)    At the end of the program display the following:

a.    Teacher's name

b.    Today's date

c.     Average score

d.    Total number of A's, B's, C's....

8)    Display lists of names of the students who didn't pass the test

9)    Display lists of names from the bestOf.txt

Note: Logic would need to be done in 3 separate programs.

Answer & Explanation

Unlock full access to Course Hero

Explore over 16 million step-by-step answers from our library

Get answer

Our verified expert tutors typically answer within 15-30 minutes.