U can copy from here #include #include int main() { float a,b,c,d,r1,r2; printf("Enter the value of a,b and c "); scanf("%f %f %f", &a, &b, &c); d = b*b - 4 * a * c; if ( d==0 ){ printf("Roots are real and equal "); r1= -b/(2*a); r2= -b/(2*a); printf("Root 1 is %f and Root 2 is %f ",r1,r2); } else if (d>0){ printf("Roots are real and different "); r1 = (-b+sqrt(d))/(2*a); r2 = (-b-sqrt(d))/(2*a); printf("Root 1 is %f and Root 2 is %f ",r1,r2); } else{ printf("Roots are imaginary "); } return 0; } //Roots are real and different : 1 5 6 //Roots are imaginary : 1 5 7 thank me later how i feel after this - ua-cam.com/video/a0L5LjsHMY4/v-deo.htmlsi=WG_K8dbBnQIIRAbn
Thank you soo much sir 😭
I've an exam tmro..it really helped
Best of luck for you exam!
Give your best 💯
Must write output of the program and also includes comments.
You can easily score full marks👍🏻👍🏻😊
Kiya int main ki jagah float main likh saakte hai?
😭❤tq so much
Do subscribe ❤️
Thank you sir tomorrow i have an exam it will definitely help me
All the best for your exam 👍🏻✨
Really very helpful.
Do subscribe to the channel!😃✨
@@VaibhavTalks I have done so please keep making such useful videos for us. Thank you..
sir It is really helpful. thankyou
Thankyou so much ❤️
U can copy from here
#include
#include
int main()
{
float a,b,c,d,r1,r2;
printf("Enter the value of a,b and c
");
scanf("%f %f %f", &a, &b, &c);
d = b*b - 4 * a * c;
if ( d==0 ){
printf("Roots are real and equal
");
r1= -b/(2*a);
r2= -b/(2*a);
printf("Root 1 is %f and Root 2 is %f
",r1,r2);
}
else if (d>0){
printf("Roots are real and different
");
r1 = (-b+sqrt(d))/(2*a);
r2 = (-b-sqrt(d))/(2*a);
printf("Root 1 is %f and Root 2 is %f
",r1,r2);
}
else{
printf("Roots are imaginary
");
}
return 0;
}
//Roots are real and different : 1 5 6
//Roots are imaginary : 1 5 7
thank me later
how i feel after this - ua-cam.com/video/a0L5LjsHMY4/v-deo.htmlsi=WG_K8dbBnQIIRAbn
😂😂
@@VaibhavTalks 😅
You saved my time thanks dear
Most useful sir very nice ❤
Thankyou 😊
Sir aapne ye konsa software use kiya hai is video me
Kis chij k liye?
@@VaibhavTalks programing ke liye???
@@saini_0568 VS Studio Code!! Best hai abhi market mai 🔥
@@VaibhavTalks thank you sir🙏
very helpful tanks a lot!
❤️
Thank you very much sir
Welcome 😊
It's very and very helpful vedio
Thank you so much sir for this effort.❤❤
Your one lecture make our whole concept easier ❤❤❤
Best wishes for you
Thanks for your kind words!
Thanku really helpful sir
Thankyou ❤️
App bahot Accha samagta hoo 🎉❤🎉❤❤❤❤❤❤
Thankyou ❤️
Bro mene a,b and c ki values input ki then run Kiya to sirf roots are imaginary show ho rha hey..
Root1 and root2 ki value nhi show ho rhi hey...
Same here😊
Useful video sir 👏🙌
Thankyou 👐🏻
Sir agar imaginary roots print karane ho to?
thank u sir 🙂
Welcome 😊
Thanku sir ❤
Keep Supporting ❤️😊
Thank u bro
Welcome ❤️
Super
❤️
👌🏻👌🏻👌🏻👌🏻
😇👨💻
It was a great video, but sir can just try to talk more in English it will be very great thanks!!!!!
Sure! I will work on this.👍🏻
@@VaibhavTalks okay thanks so much sir
Nice video
Thankyou sai😇
@@VaibhavTalks gcd and LCM par video banao dada
Flowchart?
?
OKAY! 👍
Okay 😄🙌🏻
🎉👍
♥️
Without using math.h ho sakte h ky????🤔
Me I included the math.h since we have the sqrt function
@@FredArchange I can't understand
It will not run
Nahi ho sakta because of use of mathematical operations in it we should choose math.h header file
One r will be+,and other will be -
Mujhe bas quadratic equation ke roots chahiye the itna kyu bta diya 🥲
Bhai padh lo kaam aayga na😂😂
Tsm
Keep supporting ❤️
Ok😅
Vo aadat hogyi thi😅😅😅
Ab new videos mai nahi milegi ye mistakes 😅😂
Sir agar imaginary roots print karane ho to?