Question

C++ Programming Question

The Maybe High School offers a course that prepares students for tertiary-level education. Last year, several students who completed the course matriculated to a tertiary level institution of their choice. Naturally, the college wants to know how well its students did on the exam. You have been asked to write a program to summarize the results. Your program should: 

  1. Prompt the user to enter the final grades of an indefinite number of students. Note: A final grade greater than or equal to 75 is considered a pass otherwise, fail.

  2. Count the number of passes and failures 

  3. The user should be given the opportunity to run the programme until -1 is entered to terminate.

  4. Display a summary of the test results indicating the number of students who passed and the number of students who failed.

  5. If more than 6 students passed the exam, print the message “Raise the Tuition”, otherwise, Evaluate Teachers.”


  


0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
C++ Programming Question
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Create a UML diagram describing a collection of classes for use in an automatic exam grading...

    Create a UML diagram describing a collection of classes for use in an automatic exam grading software. The software should be usable by teachers and students. Teachers should be able to write and administer exams with the software. All exam questions will be multiple choice, with one correct answer. Each question may be worth a different number of points. Teachers may add, remove, and edit questions until they publish the exam. Teachers must set a deadline for the exam before...

  • Lab-3C   Pre-test Loop Write a MIPS program to count the number of students who failed in...

    Lab-3C   Pre-test Loop Write a MIPS program to count the number of students who failed in a course. The final grades are given in an array. The fail grade is 60. Example: Array and Output      .data NoOfStudents: 10 Values:   60 70 80 50 90 80 55 90 80 70 Output: 2 students failed      .data NoOfStudents: 12 Values:   60 70 80 50 90 80 55 90 80 70 55 80 Output: 3 students failed

  • python question 2. In a file called passfail.py, write a Python program to solve the following...

    python question 2. In a file called passfail.py, write a Python program to solve the following problem: Given a file students.txt with the following information for a stu dent: student number, average quiz mark, average assignment mark, midterm exam mark, and final exam mark (where each mark is recorded out of 100), de termine if the student has passed or failed based on the following information: • A student will pass the course if they have a passing mark (50%...

  • The Chair of the Operations Management Department at Quality University wants to construct a p-chart for...

    The Chair of the Operations Management Department at Quality University wants to construct a p-chart for determining whether the four instructors teaching the basic P/OM course are under control with regard to the number of students who fail the course. Accordingly, he sampled 100 final grades from last year for each instructor, with the following results: Instructor Number of Failures Prof A 13 Prof B 0 Prof C 11 Prof D 16 Prof C Prof D What is the sample...

  • 2. In a file called passfail.py, write a Python program to solve the following problem: Given...

    2. In a file called passfail.py, write a Python program to solve the following problem: Given a file students.txt with the following information for a stu dent: student number, average quiz mark, average assignment mark, midterm exam mark, and final exam mark (where each mark is recorded out of 100), de termine if the student has passed or failed based on the following information A student will pass the course if they have a passing mark (50% or higher) for...

  • Question 5.[15 marks] [Chapters 7 and 8] Data from a random sample of a recent large second semester stage 2 statistics course (STATS 20x) were collected. Below is some information on the variabl...

    Question 5.[15 marks] [Chapters 7 and 8] Data from a random sample of a recent large second semester stage 2 statistics course (STATS 20x) were collected. Below is some information on the variables collected. Variable Grade The student's final grade for the course: A, B. C, D Pass Whether the student passed the course: Yes, No Programme The programme the student is enrolled in: BA, BCom BSc, Other Sex The student's sex: Female, Male ผhether the student regularly attended class:...

  • c++ implement a student class Determine the final scores, letter grades, and rankings of all students...

    c++ implement a student class Determine the final scores, letter grades, and rankings of all students in a course. All records of the course will be stored in an input file, and a record of each student will include the first name, id, five quiz scores, two exam scores, and one final exam score. For this project, you will develop a program named cpp to determine the final scores, letter grades, and rankings of all students in a course. All...

  • Using C++ 1. Driver's The local driver's license office has asked you to create an application...

    Using C++ 1. Driver's The local driver's license office has asked you to create an application that grades the written portion of the driver's license exam. The exam has 20 multiple-choice questions. Here are the correct answers 16. C 17.С 18. B 19. D 20. A 1. B 2. D 3. A 12. C 13. D 14. A 15. D 7.В 9.С 10. D 5. С Your program should store these correct answers in an array. It should ask the...

  • Java Gradebook

    Requirements:1.     The number of students to enter will be dynamic, minimum of 5.2.     Ask the user for a student's:a.     first nameb.     last namec.      student IDd.     4 exam grades (each out of 100 points)Calculate the student's:e.     final letter grade.3.     For each student, if the user enters invalid data he will be allowed to enter it again.4.     Letter grade calculation will use the standard grading scale.a.     90% - 100% = Ab.     80% - 89% = Bc.      70% - 79% = Cd.     60% - 69% = De.     Below 60% = F5.     The output will consist of:a.     A list of...

  • [15 marks] Suppose that students enrolled in one course are required to take four tests, and...

    [15 marks] Suppose that students enrolled in one course are required to take four tests, and each student’s final grade for this course is the average of his/her grades of these four tests. This question asks you to write a program that can be used to compute the lowest final grade, highest final grade and the average final grade. General Requirements: Use a5q1.c as the name of your C source code file. We will use the following command on bluenose...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT