Advertisement
arieagung2

Untitled

Jan 22nd, 2017
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Sub Main
  2. DIM pilihan as integer
  3. pilihan = 0
  4.  
  5. WHILE pilihan <> 1 AND pilihan <> 2
  6. PRINT "Menu"
  7. PRINT "1. Pengurutan angka ascending"
  8. PRINT "2. Pengurutan angka descending"
  9. SLEEP 3000
  10. INPUT "Masukan pilihan anda", pilihan
  11. END WHILE
  12.  
  13. IF pilihan = 1 THEN
  14. ....
  15. END IF
  16. IF pilihan = 2 THEN
  17. ....
  18. END IF
  19. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement