Archives by Tag 'Java'

Java simple recursion

By admin - Last updated: Monday, May 1, 2006

/**  * @author R  * 1+2+3+4 …. + 99+100 = 5050  */ public class Main {     /** Creates a new instance of Main */     public Main() {}      /**      * @param args the command line arguments      */     public static void main(String[] args)     [...]