Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  sinc
Language: C/C++
Code:
#include<stdio.h>
#include<math.h>
#include<conio.h>
#define pi 3.14
int main()
{
double c=0,d;
double i;
for (i=-4; i<=4; i+=0.5)
{
if (i==0)
c=1;
else 
d=pi*i;
c=sin(d);
c=c/d;
printf("%f \t",&c);
}
getch();

getch();
return 0;


          
          
          
          
          
          
          
          
          
          
          
Comments: