Keyboard input to the three numbers a, b, c, the output value according to the formula (30)

Chapter 1 -2 keyboard input to the three numbers a, b, c, the output value according to the formula (30)

Sequentially input in the same row three values a, b, c, separated by spaces, the output B B. 4- A C * value

Input formats:

Enter the number of three in a row.

Output formats:

Formula values ​​output in a row.

Sample input:

Here we are given a set of inputs. E.g:

3 4 5

Sample output:

Given here corresponding output. E.g:

-44

Code

a,b,c = map(int,input().split())
print(b*b-4*a*c)

Guess you like

Origin www.cnblogs.com/nonlinearthink/p/10991492.html