@@ -0,0 +1,338 @@
+package com.github.jinsen47;%0A%0A/**%0A * Created by Jinsen on 16/5/3.%0A */%0Apublic class SumWithoutOperator %7B%0A    public static int sum(int n) %7B%0A        int ret = 0;%0A        boolean ans = n == 0 %7C%7C (ret = sum(n - 1)) %3E 0;%0A        return n + ret;%0A    %7D%0A%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(sum(10));%0A    %7D%0A%7D%0A

Add sum without operator