Program Requirements Jack is a teacher in a high school. He wants you to help him calculate a class average, highest mar
Posted: Fri Jul 08, 2022 6:16 am
questions using capital or small letters. Assessment Program with syntax errors will not be graded. This assignment is out of 100. Using meaningful variable names. (5 points) Adding enough comments to understand the program. (6 points) Using indentation properly. (5 points) 27 Prompting the user to enter the number of marks if any. (10 points) Checking if the number of marks known or unknown. (10 points) Calculating the class average, highest mark and lowest mark for the entered marks. (15 points) Accepting the Y/N. User can use small or capital letter. (10 points)
Validating the entered mark. (10 points) Printing results (9 points) Programming without repeated code, logic errors and run-time errors. (10 points) Screenshots showing five different input/output samples. Make sure you cover different cases. Save the five screenshots in a word document that named with your full name and student number (10 marks)
Program Requirements Jack is a teacher in a high school. He wants you to help him calculate a class average, highest mark and lowest mark. Jack needs a program to be applied on a known and an unknown number of marks. In addition, the program can do the calculation as much as Jack wants. The program should do the following: 1. Ask Jack to enter if the number of marks is known or not. If the number of the marks is known, ask Jack to enter it. Otherwise, continue until Jack enters -1 to stop the input. 2. Whether the number of marks is known or unknown, find the class average, highest mark and lowest mark for the entered marks. 3. Ask Jack if he wants to enter another group of marks. If yes, go to step 1. Otherwise, end the program. 4. Validate the entered mark. The valid value is between 0 and 100. If Jack accidentally entered a mark out of this range, ask him again. Ensure you allow Jack to answer Yes/No Validating the entered mark. (10 points) Printing results (9 points) Programming without repeated code, logic errors and run-time errors. (10 points) Screenshots showing five different input/output samples. Make sure you cover different cases. Save the five screenshots in a word document that named with your full name and student number (10 marks)