Program 21- A list Num contains the following elements:
3, 21, 5, 6, 14, 8, 14, 3
WAP to swap the content with next value divisible by 7 so that the resultant
array will look like:
3, 5, 21, 6, 8, 14, 3, 14
Code:
********Output of the program********