Bulls and Cows Challenge With FOR LOOP

This is how I made my code!

I also have a question. How come in the for loop, the int is LESS THAN or equal to 5? What does that mean?

EDIT: My [slightly] updated code…

Privacy & Terms