google is your friend. Use it.
http://www.schoolfreeware.com/QBasic_Tutorial_38_-_Making_A_Function_-_QB64.html
rem prints fibonacci series
cls
a=2
b=1
for p = 1 to 5
print a
print b
a=a + b
b=b + a
next p
end
I have done this program. How do you do it using modular programming.. FUNCTION...END FUNCTION???? I tried but it didn't work
3 answers
^
|
What that guy said.
|
What that guy said.
thanks steve sir