Vyom World.com Let's Touch the Sky Together!
 Home VyomWorld.com Home Free Magazines! VyomLinks.com Home JobsAssist.com Home Vyom Network Contact Us Jobs & Careers Resume Submitter Placement Papers IT Companies Directory Computer Jobs Interview Questions Online Exams Vyom Career eMag. Fun Screensavers New! Send FREE SMS! SMS Jokes Source Codes Library Source Codes Home ASP Source Codes C Source Codes C++ Source Codes COBOL Source Codes Java Source Codes Pascal Source Codes Submit Source Codes GATE GATE an Overview GATE Preparation Study Materal GRE GRE an Overview GRE Questions GRE Preparation GRE Universities TOEFL Preparation TOEFL Resources GMAT Preparation GMAT Resources MBA Preparation MBA Resources Networking Concepts Networking Concepts Testing Preparation Testing Resources Webmasters Free Traffic Builder Webmaster Articles Web Hosting Tutorials Hardware Tutorial 1500 Free eBooks New! FREE Publications
Vyom Career eMag.
 Get 9,000+ Interview Questions & Answers in an eBook. 9,000+ Interview Questions All Questions Answered 5 FREE Bonuses Free Upgrades Get it now!
Get 9,000+ Interview Questions with Answers in an eBook

Home >> Source Codes Library Home >> Language Home >> Category Home > > Item Description
Search Code Library

 Title Solving Quadratic Equations using Factorisation:( Shows SOLUTION ) Author: Sanchit Karve Visitor Submitted Source Code Author Email: born2c0de@hotmail.com Description: Prints the Solution of a Quadratic Equation on Screen as you would solve it using Factorisation. Each and every step is shown as it is solved on paper. Hits: 4448 Since 25th November, 2003 Code: Select and Copy the Code #include #include #include #include void main() { cout<<"\tQuadratic Equation Calculator"<>a; cout<<"\t\tPlease enter the value of b: "; cin>>b; cout<<"\t\tPlease enter the value of c: "; cin>>c; x=((-b+sqrt((b*b)-(4.0*a*c)))/(2.0*a)); y=((-b-sqrt((b*b)-(4*a*c)))/(2*a)); clrscr(); cout<<"HERE IS THE SOLUTION USING FACTORISATION\n\n\n"; cout.setf(ios::showpos); float mul=(x*-1)*(y*-1); cout<<"\t\tx²"<<(y*-1)+(x*-1)<<"x"<

ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home