i have written the code for this problem as suggested in the video but it is giving wrong output . what is gone wrong in the below code?
Wrong output in aggressive cows problem
yeah! i got the output thanks 
i have written the code for this problem as suggested in the video but it is giving wrong output . what is gone wrong in the below code?
yeah! i got the output thanks 