Cit212 Assignment
Cit212 Assignment
* Name:
* Dept: Software Engineering
* Reg No: 202213
*/
Package CIT202SN00
import java.util.Scanner;
Result
--- exec:3.1.0:exec (default-cli) @ CIT202SN00 ---
Enter coefficient a: 3
Enter coefficient b: 4
Enter coefficient c: 2
The equation has no real roots, the are complex:
Root 1: -0.6666666666666666 + 0.47140452079103173i
Root 2: -0.6666666666666666 - 0.47140452079103173i
BUILD SUCCESS