Thanks for your answer!
For some reason my code isn't really willing to work, this is what I got:
Menu("Welke soort rij?","Rekenkundig rij",H1,"Meetkundig rij",H2
Lbl H2
Input "t1=",A
Input "t2=",B
If B/A=1
Then
Disp "De rij convergeert"
Disp "Druk op ENTER"
Pause
Goto 1
Else
If B/A=<-1
Then
Disp "De rij divergeert"
Disp "Druk op ENTER"
Pause
Goto 1
Else
If B/A>1
Then
Disp "De rij divergeert"
Disp "Druk op ENTER"
Pause
Goto 1
Else
Disp "De rij convergeert"
Disp "Druk op ENTER"
Pause
Goto 1
For curiosity, I am trying to make a labeled program that sees whether your row is convergent or divergent by checking the first two values.
If B/A (q) >1 then it's divergent
If q=1 => convergent
If q <= -1 => divergent
If -1<q<1 => convergent
I am not very sure why mine isn't working out, I hope you can help me out with it.
Edit: the menu is showing up and it's working out well, it's whenever I input my values that it sometimes give me a syntax error (when first condition isn't met?)