SHARE
TWEET

Untitled

a guest Aug 8th, 2017 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.math.BigDecimal;
  2.  
  3. public class App {
  4.     public static void main(String[] args) {
  5.         for (int i = 2; i <= 100; i++) {
  6.             double xp = Math.floor(Math.pow(50D,1D+(0.08D*(i-2))));
  7.             BigDecimal bd = new BigDecimal(xp);
  8.             System.out.println("XP to level "+i+": "+bd.toString());
  9.         }
  10.     }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top