Demo entry 6643779



Submitted by anonymous on Sep 29, 2017 at 04:48
Language: Java. Code size: 325 Bytes.

public class D03
        public static void main(String args[])
            double sum=0,sign=1;
            for(int i=0;i++<10000;sign*=-1)sum+=sign*1/(2*i+1);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).