Homework Posting Tips
Please show your work. Tutors will not do your homework for you. Please show your work for any question that you are posting.
Write a Java application that computes and prints the grade of a student according to the following algorithm:
1) It should read from the user TMA score and MTA score.
2a) If their sum is less than 15, the grade "FC" should be printed and the program will stop.
2b) Otherwise, 2b1) It will read from the user final exam score. 2b2a) If it is less than 20, the grade "FF" should be printed and the program will stop. 2b2b) Otherwise, 2b2b1) If the total score (sum of all scores) is less than 50, the grade "F" should be printed. 2b2b2) Otherwise, the grade "P" should be printed
b. Give the exact output of your application.
1 answer