- #1
waver.
- 8
- 0
i have a a little problem in fortan90 i just wanted to know how to input a complex number ( input real and img part alone ) all i want to do is to make a simple program about DeMoivres Theorem i have been around in google
all i know how to declare a argument as complex
complex a
then how to let the user input the real and img part for argument a
i did read(*,*)a
every time it give runtime error :)
thanks in advance
all i know how to declare a argument as complex
complex a
then how to let the user input the real and img part for argument a
i did read(*,*)a
every time it give runtime error :)
thanks in advance