Hello. I am VERY new to DBPro and I wanted to make a simple code for math class. However, I am having problems with it. It always comes out as 0. Here's my code:
print "Welcome to the EXPONETER!!"
wait 2000
Start:
Print "Please Enter the Exponet you want used..."
input X
print "Please Enter the Number You Would Like Exponeted: ";
input C
F = C
Counter = 1
Repeat
F = C*F
inc Counter
Until Counter=X
Print C;" exponeted is "; F#;"."
Goto Start:
EDIT: I figured out what I did wrong. After changing it from F# to F, I forgot to change it on the other side. I'll keep the rest here in case anyone else has this problem.
"And we played the first thing that came to our heads...Just so happened to be... the best song in the world...
it was the best song in the world..."