Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ClrHome
  2. Disp "Gegevens?"
  3. Prompt A,B,C
  4. ClrHome
  5. Disp "D is"
  6. Disp (B^^2-4AC)
  7. If (B^^2-4AC)<0
  8. Then
  9. Disp "Geen oplossing"
  10. Else
  11. If (B^^2-4AC)=0
  12. Then
  13. Disp "1 oplossing:",(~B+sqrt((B^^2-4AC)))/2A
  14. Else
  15. If D>0
  16. Then
  17. Disp "2 oplossingen:",(~B+sqrt((B^^2-4AC)))/2A,(~B-sqrt((B^^2-4AC)))/2A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement