programming

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. 👍 0
  2. 👎 0
  3. 👁 127
asked by pooja
  1. 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.

Respond to this Question

First Name

Your Response

Similar Questions

  1. Java Programming

    I'm new to Java and I'm not sure how to write the source code for this problem I got in class... Write a java program using the while and if statement that will accept ten student grades and that will display the sum of the

    asked by Samantha on June 10, 2013
  2. pseudocode app

    Write the pseudocode for an application that allows a user to enter the price of an item and computes 8 percent sales tax on the item and prints out for the user the original price and the tax but not the total.

    asked by reem on June 16, 2014
  3. math

    You are ordering photo prints online to send out to all your friends for the holidays. The first 20 prints cost 12¢ each, if you order more than 20 the price of the additional prints goes down to 8¢ each. a. Write a function to

    asked by sarah on February 16, 2018
  4. pseudo code algorithm

    Convert your algorithm from Question One into a complete Java application. Marks will be allocated based upon: ● Your Java code matching your pseudo code algorithm from Question One. ● Your Java code being syntactically

    asked by husanpreet on April 27, 2016
  5. programming

    java, write a program that prints out the letter X composed of asterisks (*) reply soon

    asked by patrick on February 4, 2010
  6. computer science

    Write a java program that reads from the user the course code, section and the scores of a student for three exams representing two midterms and a final. The percentage of each of the three exams is of fixed value 30, 30 and 40

    asked by rayn on March 13, 2016
  7. programming

    I am having trouble writing this program for java. can anybody help write a program that prints the letter X composed of asterisk.

    asked by Riley on February 5, 2010
  8. Math

    You are required to design a QBASIC program that receives a student test score and prints out her grade, the grading criteria is as follows =90 is A.

    asked by QBasic on December 13, 2011
  9. IT

    Draw a flowchart or write the pseudocode for an application that allows a user to enter price and computes 8 percent sales tax on the item. Use // declartions

    asked by Anonymous on September 10, 2012
  10. programming

    Draw a flowchart or write the pseudocode for an application that allows a user to enter price and computes 8 percent sales tax on the item. Use // declartions

    asked by jacob on September 5, 2012

More Similar Questions