Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TextWindow.Write("Voer de waarde in: ")
- n = TextWindow.Read()
- X = 0
- A = 0
- B = 1
- If n = 0 Then
- TextWindow.WriteLine("Het antwoord is 0.")
- Else
- While X <= N
- C = A+B
- teller = 1
- TextWindow.Writeline("Het antwoord is "+C)
- teller = teller + 1
- B = C
- A = B
- X = X+1
- EndWhile
- EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement