python
Naquarios English
CSIS110 Introduction to Computer Science
31AUG26
Students Name: Raymond Jones
Course Name: Introduction of Computer
First Exam: 85
Second Exam: 95
Average score: 90
Final Letter: A
Status: PASSED
Feedback: GREAT JOB! You are doing excellent in the course keep up the good work.
Begin
DISPLAY "Enter student's name:"
INPUT StudentName
DISPLAY "Enter course name:"
INPUT CourseName
DISPLAY "Enter first exam score:"
INPUT FirstExam
DISPLAY "Enter second exam score:"
INPUT SecondExam
SET AverageScore = (FirstExam + SecondExam) / 2
IF AverageScore >= 90 THEN
SET FinalLetter = "A"
ELSE IF AverageScore >= 80 THEN
SET FinalLetter = "B"
ELSE IF AverageScore >= 70 THEN
SET FinalLetter = "C"
ELSE IF AverageScore >= 60 THEN
SET FinalLetter = "D"
ELSE
SET FinalLetter = "F"
END IF
IF AverageScore >= 60 THEN
SET Status = "PASSED"
ELSE
SET Status = "FAILED"
END IF
IF FinalLetter = "A" THEN
SET Feedback = "GREAT JOB! You are doing excellent in the course. Keep up the good work."
ELSE IF FinalLetter = "B" THEN
SET Feedback = "GOOD JOB! You are doing well in the course. Keep up the good work."
ELSE IF FinalLetter = "C" THEN
SET Feedback = "GOOD EFFORT! Continue working hard to improve your performance."
ELSE IF FinalLetter = "D" THEN
SET Feedback = "You passed, but you should work harder to improve your performance."
ELSE SET Feedback = "You did not pass. Please review the course material and work harder to improve your grade."
END IF
DISPLAY "Student's Name: ", StudentName
DISPLAY "Course Name: ", CourseName
DISPLAY "First Exam: ", FirstExam
DISPLAY "Second Exam: ", SecondExam
DISPLAY "Average Score: ", AverageScore
DISPLAY "Final Letter: ", FinalLetter
DISPLAY "Status: ", Status
DISPLAY "Feedback: ", Feedback
END