Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true
- read enemy1
- read dist1
- read enemy2
- read dist2
- if dist1 is smaller than dist2
- print enemy1
- else
- print enemy2
- endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement