Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.math.BigDecimal;
- public class App {
- public static void main(String[] args) {
- for (int i = 2; i <= 100; i++) {
- double xp = Math.floor(Math.pow(50D,1D+(0.08D*(i-2))));
- BigDecimal bd = new BigDecimal(xp);
- System.out.println("XP to level "+i+": "+bd.toString());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement