public class FraktonAdderLOL { public static void main(String[]args){ double sum = 0.0; for (double hi = 1.0,lol = 30.0;hi <= 30;hi++,lol--) { sum += (hi/lol); System.out.println(hi+"/"+lol+" = "+(hi/lol)); } System.out.println("LOL the sum is: "+sum); } } /*LOL here's what it ouputtered: 1.0/30.0 = 0.03333333333333333 2.0/29.0 = 0.06896551724137931 3.0/28.0 = 0.10714285714285714 4.0/27.0 = 0.14814814814814814 5.0/26.0 = 0.19230769230769232 6.0/25.0 = 0.24 7.0/24.0 = 0.2916666666666667 8.0/23.0 = 0.34782608695652173 9.0/22.0 = 0.4090909090909091 10.0/21.0 = 0.47619047619047616 11.0/20.0 = 0.55 12.0/19.0 = 0.631578947368421 13.0/18.0 = 0.7222222222222222 14.0/17.0 = 0.8235294117647058 15.0/16.0 = 0.9375 16.0/15.0 = 1.0666666666666667 17.0/14.0 = 1.2142857142857142 18.0/13.0 = 1.3846153846153846 19.0/12.0 = 1.5833333333333333 20.0/11.0 = 1.8181818181818181 21.0/10.0 = 2.1 22.0/9.0 = 2.4444444444444446 23.0/8.0 = 2.875 24.0/7.0 = 3.4285714285714284 25.0/6.0 = 4.166666666666667 26.0/5.0 = 5.2 27.0/4.0 = 6.75 28.0/3.0 = 9.333333333333334 29.0/2.0 = 14.5 30.0/1.0 = 30.0 LOL the sum is: 93.84460105853213 */