Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
QE
Program QE Implicit none Real a, b, c, x1, x2, D a=1.0 b=4.0 c=4.0 D=b**2-4*a*c If(D .lt. 0) then Write (*, *) "roots are imaginary" Else x1=(-b+sqrt(D))/2*a x2=(-b-sqrt(D)) /2*a Write (*, *) "the roots are x1 and x2", x1, x2 Endif End Program QE
run
|
edit
|
history
|
help
0
New
Palindromic number
The Sum of the chain (fortran)
lcm and gcd using prime factorization
Currency conversion
C
prime list 2
Q5
A_002 THE GUASS SEIDEL
Vi ss. F