Solved by verified expert:open the file and look at the information. use Python 3,6
number_05_chapter_03.docx
Unformatted Attachment Preview
CS 222 01
Programming Assignment 05 – Chapter 03
20 Points
Due:
Friday, October 27, 2017 at the beginning of class
A teacher wants to be able to enter test scores and find the average. She would like to have a feature
that allows her to remove the last test score added if she miss typed it. For example:
The test scores 98, 65, 89, 77, 16 were entered one at a time pressing the Enter key after each
one. The teacher realized that the 16 was supposed to be 61 and wants to remove the 16 and
replace it with the 61.
Write a program that uses the Stack class created in class that will hold the test scores until the teacher
enters DONE. If the teacher enters a number, it should be pushed onto the stack. If the teacher enters
REVERSE, the last number entered should be removed. After all the numbers have been entered, the
program should calculate the average and display the following:
The test scores entered listed on one line separated by a comma
The average of the test scores
The letter grade for the student – Grading scale A is 90 or more, B is 80 – 89, C is 70 – 79, D is 60
– 69 and F is below 60.
Add the following comments to the beginning of the program.
Name:
Your Name
Class and Section:
CS 222 01
Assignment:
Program Assignment 05
Due Date:
See above
Date Turned in:
Program Description: You write a short description of what the program will do
When you complete the program, do the following.
1. Turn in a printout of the source code
2. Create a folder with the following name: ProgramAssignment05
3. Copy your program to this folder
4. Copy the folder to your folder in the I:koppinboxCS 222 01 folder
…
Purchase answer to see full
attachment
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more