1. Implement the following algorithm in C# using WFA GUI.
  2. Write the student info and processed data (student name, exams, avg and grade and ...) to student database //20 points
  3. Update the student record as needed (changing grade, phone number, home address ...) //20 points
  4. List all students who have failed.                                    //15 points
  5. List all students who have passed.                                 //15 points
  6. List all students with a given grade (A, B, C, D or F)       //15 points
  7. Add exit with confirmation option.                                   //10 points

      Code documentation                                                           // 5 points

Submit source, database as a zip file in assignment box.

  1. start
  2. declare variables
  3. print “Enter student first name”
  4. input studFirstName
  5. print “Enter student last name”
  6. input studLastName
  7. print “Enter student address”
  8. input studAddress
  9. print “Enter Phone”
  10. input studPhone
  11. print “Enter score for exam 1”
  12. input studExam1
  13. print “Enter score for exam 2”
  14. input studExam2
  15. print “Enter score for exam 3”
  16. input studExam3
  17. compute studScore = studExam1 + studExam2 + studExam3
  18. compute studAvg = studScore / 3
  19. print “Student’s Final Grade”
  20. if studAvg >= 90 then
  21. Grade = 'A'
  22. else if studAvg >=80 then
  23. Grade = 'B'
  24. else if studAvg >=70 then
  25. Grade = 'C'
  26. else if studAvg >=60 then
  27. Grade = 'D'
  28. else
  29. Grade = 'F'
  30. endif
  31. Print Grade
  32. stop
    • Posted: 6 years ago
    Save time and money!
    Our teachers already did such homework, use it as a reference!