quadraticroots.output
来自「datastucutre and algorithms, application」· OUTPUT 代码 · 共 22 行
OUTPUT
22 行
Enter the coefficients a, b, and c
a should not be zero
The coefficients of the quadratic are 1 -5 6
There are two real roots 3 and 2
Enter the coefficients a, b, and c
a should not be zero
The coefficients of the quadratic are 1 -8 16
There is only one distinct root 4
Enter the coefficients a, b, and c
a should not be zero
The coefficients of the quadratic are 1 2 5
The roots are complex
The real part is -1
The imaginary part is 2
Enter the coefficients a, b, and c
a should not be zero
Caught illegalInputData exception
a should be non-zero
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?