Answered You can hire a professional tutor to get the answer.

QUESTION

Hi i need help in this questions its raptor question. Prepare a flowchart to represent the algorithm for a program that asks users to enter a student...

Hi i need help in this questions its raptor question.

Prepare a flowchart to represent the algorithm for a program that asks users to enter a student name and numerical marks for unknown number of students, determines their letter grades, and reports all students in the class who are above the class average. The marks for each student consist of marks for Mid Term Examination and Final Examination. (Hint: you will require a loop to help enter all this information into parallel arrays; 2nd loop/method to determine students who are above average): 

Part A: - 15 marks

Loop - 2 marks

a) Enter a student name and store it in a name[] array. - 1 mark

b) Enter a percentage mark for midTermExam[] - worth 40% of total mark - 1 mark

c) Enter a percentage mark for finalExam[] - worth 60% of total mark - 1 mark

d) Calculate a total mark out of 100 and store it in array called totalMark[] - 2 marks

e) The program should also keep track of the count of students entered and keep a running sum of totalMark[].- 2 marks

f) Calculate a letter grade based on what is stored in array totalMark[] using following logic:

A student will be given: - 4 marks

  • grade "A" if the total student mark is greater than 80%.
  • grade "B" if the total student mark is greater than 70%.
  • grade "C" if the total student mark is greater than 60%.
  • grade "F" if the total student mark is less than 60% (very mean professor)

Determine a numerical average after all students are entered: Average = Sum / Count (hint: determined after the first loop.) - 2 marks

Output all data into a preliminary report such as this on the console (show your screen shot):

ITM200 - ALL STUDENTS:

Student Name

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question