Why when we want to find the minimum we write arr[i]<min;min=arr[i]; and not arr[i]<min,arr[i]=min; whats the difference

前端 未结 0 1864
盖世英雄少女心
盖世英雄少女心 2021-01-31 18:59

I understand in general the logic of this exercise, but don\'t get why it works when we code arr[i] and not works in this case arr[i]<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题