This code is a direct translation from the Python version of this challenge to a Java version. However, because of the differences between the languages and how they function, the Java code is much harder to understand
For example, the short, easy to read statment in Python int(userScore[:-1]) becomes Integer.parseInt(userScore.substring(0,userScore.length()) in Java.
Here is a trainwreck of a photo:

The challenge is to fix all of the bugs in this incredibly messy code, which the code in the image might've actually looked like (probably not)! The code given will output the same middle two lines as in the image shown above.
grade_percentage("85%", "85%") ➞ "You PASSED the Exam"
grade_percentage("99%", "85%") ➞ "You PASSED the Exam"
grade_percentage("65%", "90%") ➞ "You FAILED the Exam"