SSC,IBPS,FCI,CGL QUIZES...
Showing posts with label
C Program for FIND OUT QUARDRATIC EQUATION (D=B2-4AC)
.
Show all posts
Showing posts with label
C Program for FIND OUT QUARDRATIC EQUATION (D=B2-4AC)
.
Show all posts
Monday, October 15, 2012
WAP TO FIND OUT QUARDRATIC EQUATION (D=B2-4AC)
/*****<soeasyprograms.blogspot.in>*****/
void main ()
{
int a,b,c,d;
clrscr ();
printf ("Enter A: ");
scanf ("%d",&a);
printf ("Enter B: ");
scanf ("%d",&b);
printf ("Enter C: ");
scanf ("%d",&c);
d= (b*b)-(4*a*c);
printf ("\nAnswer is %d",d);
getch ();
}
Older Posts
Home
Subscribe to:
Posts (Atom)