Advertisement
Juke2706

Algo#1

Apr 11th, 2013
3,039
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Lbl BA
  2. EffEcr
  3. Prompt A
  4. Prompt B   
  5. If B<A                  // Si B<A ça relance le programme depuis le début (Goto BA => Lbl BA)
  6. Then   
  7. Goto BA
  8. End
  9. Prompt L
  10. While B-A>L
  11. (A+B)/2->P              // -> c'est "sto"
  12. If P^3<5
  13. Then
  14. P->A
  15. Else
  16. P->B
  17. End
  18. End
  19. EffEcr
  20. Disp "A=",A
  21. Disp "B=",B
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement