Introduction - If you have any usage issues, please Google them yourself
Topic: input arrays, and the biggest and the first element exchange, the smallest and the last element exchange, output array.
1. The program analysis: TanHaoJiang book the answer.
2. The source code: