Program Requirements Jack is a teacher in a high school. He wants you to help him calculate a class average, highest mar

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Program Requirements Jack is a teacher in a high school. He wants you to help him calculate a class average, highest mar

Post by answerhappygod »

Program Requirements Jack Is A Teacher In A High School He Wants You To Help Him Calculate A Class Average Highest Mar 1
Program Requirements Jack Is A Teacher In A High School He Wants You To Help Him Calculate A Class Average Highest Mar 1 (68.12 KiB) Viewed 41 times
Program Requirements Jack Is A Teacher In A High School He Wants You To Help Him Calculate A Class Average Highest Mar 2
Program Requirements Jack Is A Teacher In A High School He Wants You To Help Him Calculate A Class Average Highest Mar 2 (27.66 KiB) Viewed 41 times
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 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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply