QUADRATI - ") ;

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//quadratic equation// / #include<stdio.h> #include<conio.h> # void main(void) { float a,b,c,x1,x2; f clrscr(); printf("enter the value of a,b,c for solving quadratic equation:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: &quot;) ; scanf(&quot;%f%f%f&quot;,&amp;a,&amp;b,&amp;c) ; x1=root1(a,b,c); x2=root2(a,b,c); printf(&quot;x1=%f x2=%f&quot;,x1,x2) ; getch(); }...
View Full Document

Ask a homework question - tutors are online