subject

Some courses assign letter grades, whereas other courses assign a percentagebetween 0 and 100. Still others assign a pass/fail grade. Write an interface named Grade. The toPercent method returns the grade asan integer percentage between 0 and 100 percent. The toString methodprints the grade in its "native" format (a percentage, a letter grade, or either"Pass" or "Fail"). The isPass method returns true for a passing grade, false otherwise. The includeInAverage returns true for letter andnumeric grades, but false for pass/fail grades. Write three classes that implement Grade: LetterGrade, PercentageGrade, and PassFailGrade. Write a main method that fills an array with grades. Foreach grade, print on one line the native format, "Pass" or "Fail" (as appropriate),and the percentage (if it can be included in an average). After the list ofgrades, print the average grade as a percentage. Use your school’s mapping between letter grades and numeric grades, if it hasone. Otherwise, make up something like A+ is 95%, A is 90%, etc.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Best laptops for college [$100-$500 range]?
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
The processing of data in a computer involves the interplay between its various hardware components.
Answers: 1
question
Computers and Technology, 24.06.2019 18:20
The following if statement contains a logic error, not a syntax error. rewrite it so that it is correct. assume the variable age already exists and holds a valid number. if (age == 18 & & age == 19) {
Answers: 1
question
Computers and Technology, 25.06.2019 08:30
How do i comment on answers? there's one answer i'm confused about but i don't know how to comment on it
Answers: 2
You know the right answer?
Some courses assign letter grades, whereas other courses assign a percentagebetween 0 and 100. Still...
Questions
question
Mathematics, 08.04.2020 05:00
question
Mathematics, 08.04.2020 05:00
Questions on the website: 13722362