Demo entry 6093149

Factorial1_9

   

Submitted by anonymous on Sep 27, 2016 at 07:19
Language: Java. Code size: 398 Bytes.

package Factorial1_9;

import static java.lang.System.*;

/**
 * Created by Jerry on 2016/9/27.
 */
public class Factorial1_9 {
    public static void main(String[] args) {
        int res = 0;
        Factorial_n factorial_n = new Factorial_n();
        for (int i = 1; i <= 9; i++) {
            res += factorial_n.CalFactorial_n(i);
        }
        out.println(res);
     }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).