Wednesday 15 January 2014

java - How to use if statement and search for last letter in array -


I basically need to create an if statement that basically says "if the array is the last letter of the string So, blah blah blah, but I do not know the right way to do this.

Even so far away from me:

  Public Double Count Bonus ( String str) {double for dartsult = 0.0; double dResult = 0.0; string two lol = str.substring (0,2); for (int d = 0; d    P> 
  (TwoLol.charAt (twoLol.length () - 1) == 'P') {// blah deee blah}    

No comments:

Post a Comment