Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. PROGRAM mypassbox
  2.  
  3. INTEGER:: enter, password=1234 ! Replace '1234' with your numerical (integer) password. Don't forget it!
  4. CHARACTER(1):: exiit
  5.  
  6. PRINT*,
  7. PRINT*,
  8. PRINT*, 'Please type your interger password.'
  9. READ*, enter
  10.  
  11. IF (enter/=password) THEN
  12. PRINT*, 'Incorrect password!'
  13. GO TO 99
  14. END IF
  15.  
  16. PRINT*, '-------------|-----------------------|---------------'
  17. PRINT*, ' Account | ID | Password '
  18. PRINT*, '-------------|-----------------------|---------------'
  19. PRINT*, ' Google | Gid | Gpassword ' ! Below, insert new lines like this.
  20.  
  21. PRINT*, '-------------|-----------------------|---------------'
  22.  
  23. PRINT*,
  24. PRINT*,
  25. PRINT*, 'Press any key to exit.'
  26. READ*, exiit
  27.  
  28. IF (exiit=='a') THEN
  29. GO TO 99
  30. END IF
  31.  
  32. 99 END PROGRAM mypassbox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement