1. ## need algorithm

yar koi bhi jaldi se agar bana do to meharbani ho gi i am wating

2. bahi jaan yeh c k ley hai ..C_program_to_find_roots_of_quadratic_equation

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int a,b,c,d;
float x1,x2,x,realp,imp;
clrscr();
printf("Enter the values of a,b & c:\n");
scanf("%d %d %d",&a,&b,&c);
d=b*b-4*a*c;
if(d>0)
{
x1=-b+sqrt(d)/(2*a);
x2=-b-sqrt(d)/(2*a);
printf("\nThe Roots are real and not equal");
printf("\nThe roots are........x1=%f x2=%f",x1,x2);
}
else if(d==0)
{
x=-b/(2*a);
printf("\nThe roots are real and repeated");
printf("\nHence the repeated root x is %f",x);
}
else
{
realp=sqrt(abs(d))/(2*a);
imp=sqrt(abs(d))/(2*a);
printf("\nThe roots are complex or imaginary ");
printf("\n root1=%f+i%f",realp,imp);
printf("\n root2=%f-i%f",realp,imp");
}
getch();
}

3. YE WEBSITE VISIT KARE MAINE BOHAT PROBLEM SOLVE KARI HAI

VISIT

4. bahi yeh bhi dekh lein aap k kam aa jaye shayeed

5. derwaish said:

bahi jaan yeh c k ley hai ..C_program_to_find_roots_of_quadratic_equation

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int a,b,c,d;
float x1,x2,x,realp,imp;
clrscr();
printf("Enter the values of a,b & c:\n");
scanf("%d %d %d",&a,&b,&c);
d=b*b-4*a*c;
if(d>0)
{
x1=-b+sqrt(d)/(2*a);
x2=-b-sqrt(d)/(2*a);
printf("\nThe Roots are real and not equal");
printf("\nThe roots are........x1=%f x2=%f",x1,x2);
}
else if(d==0)
{
x=-b/(2*a);
printf("\nThe roots are real and repeated");
printf("\nHence the repeated root x is %f",x);
}
else
{
realp=sqrt(abs(d))/(2*a);
imp=sqrt(abs(d))/(2*a);
printf("\nThe roots are complex or imaginary ");
printf("\n root1=%f+i%f",realp,imp);
printf("\n root2=%f-i%f",realp,imp");
}
getch();
}
thanx dear but ye to poora program bana dia aap ne just algorithm banana tha mera pehla smes hai or abhi just 2 classes hui hai iss ko samjhna mushkil hai mere lea bahi or pseducode ma or algorithm ma kitna farq hai

kamibest said:
YE WEBSITE VISIT KARE MAINE BOHAT PROBLEM SOLVE KARI HAI

VISIT
thanks for info
derwaish said:
bahi yeh bhi dekh lein aap k kam aa jaye shayeed