.

Sunday, June 9, 2013

Java Programming

/***************************************************************** */ /* */ /* planmer(s): */ /* */ /* Program: Homework #5 - quadratic Solver */ /* freeing a line: b enjoin district 5, 2012 */ /* Course: CSCI 188 Java programming I */ /* */ /* Program interpretation: Displaying users input value most */ /* the roots of the quadratic multinomial equation.
Ordercustompaper.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!
*/ /* */ /* I received dish up from the following people: */ /* */ /* peddle pilot */ /* */ /* */ /* */ /* I booze : genna duy */ /* */ /***************************************************************** */ import java.util.*; frequent strain QuadraticEquation { unmoving Scanner sc=new Scanner(System.in); mankind recap a,b,c,X1,X2; // induct user inputs public void input(){ System.out.println(Enter values of Quadratic Equation : ax2+bx+c=0); System.out.print(a : );a=sc.nextDouble(); System.out.print(b : );b=sc.nextDouble(); System.out.print(c : );c=sc.nextDouble(); } //calculating discriminant public double discriminant() { return (Math.pow(b,2)-(4*a*c)); } //for real roots public...If you want to get a full essay, order it on our website: Ordercustompaper.com

If you want to get a full essay, wisit our page: write my paper

No comments:

Post a Comment