Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

A simple program to solve quadratic equations with

, 7 Nov 2010
Rate this:
Please Sign up or sign in to vote.
void main()
   float a,b,c,x1,x2;
   printf("Enter a=");
   printf("Enter b=");
   printf("Enter b=");
   printf("\n or \n x=%f",x2);


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author


United States United States
No Biography provided

Comments and Discussions

GeneralReason for my vote of 1 completely incorrect code PinmemberPhil J Pearson16-Nov-10 10:13 
GeneralReason for my vote of 2 Poor error handling. PinmemberCIDev11-Nov-10 3:20 
GeneralReason for my vote of 1 Many problems esp. that ^ is not pow... PinmemberAndrew Phillips7-Nov-10 15:16 
GeneralReason for my vote of 2 2 For the effort, but Tom, that code... PinmemberHarrison H26-Oct-10 9:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 8 Nov 2010
Article Copyright 2010 by TomSeaton
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid