Create a Java program that will compute for the average (Final Grade) of three (3) input numbers (Prelim, Midterm, Pre-final). The input grade should ONLY accept values ranges from 70 to 100, and will display a message if the input grade/s is invalid. The program should also be capable of providing equivalent Rating (refer to the table below) for the computed average and displaying the Remarks (PASSED or FAILED). The program structure should follow the OOP concept of inheritance and polymorphism
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.