Valeo Interview Question

write a program to swap numbers in arrays from start to end