hey i found out the vale of pie in a special way.
i think it is interesting
i am expecting some comments on this.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int n[10000];
int i,p=1,c=1;
for (i=0;i<10000;i++)
{ if(p<7)
p=p*10;
n[i]=char(p/7);
p=p%7;
}
cout<<3<<" . ";
for (i=0;i<10000;i++,c++)
{ if(c==1800)
{ getch();
clrscr();
c=1;
}
cout<<n[i];
}
getch();
}