attempts property

int attempts
getter/setter pair

Prompt user to confirm the overwrite

Implementation

int attempts = 0;