code: public static String getNumberWithSuffix(int number) {
          int j = number % 10;
          if (j == 1 && number != 11) {
              return number + "st";
          }
          if (j == 2 && number != 12) {
              return number + "nd";
          }
          if (j == 3 && number != 13) {
              return number + "rd";
          }
          return number + "th";
      }
docs: Get number with a suffix
  
  @param number number that will be converted
  @return (e.g. "1" becomes "1st", "3" becomes "3rd", etc)