Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. int check(ship f[], location l){
  2. int found = -1;
  3. for(int i = 0; i<FLEET_SIZE; i++){
  4. if(match(f[i],l)){
  5. return(i);;
  6. }
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement