Teen sentenced to probation for attempted burglary