File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Code meets the question requirements? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Code meets the question requirements?

Jack Burned

Joined: Oct 19, 2012
Posts: 3
I have this question

This is the code that I have for that, findGrade() method still doing but so far is it ok?

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46383
I don’t think we can make any direct suggestions about your findGrade method, but I strongly recommend you try it with a grade of 39 before you let it loose on an unsuspecting world examiner.
You have been given a specific signature for that method; why have you not used it?
Please have a look at our suggestions about formatting, because your formatting is inconsistent and may lose you marks.
Never use the \n character in String literals unless you specifically require it. Look here for what to use instead.

I think because it is assessed work, I am going to lock this thread to prevent anybody posting a full answer.
I agree. Here's the link:
subject: Code meets the question requirements?
It's not a secret anymore!