1.
int array_a[5] = { 3, -5, 6, -2, 1}
write a program using a loop statement to double the value of every time in array_a and then display only negative items in the array. use the statement cout for output.
2.
An array with a list of numbers {89, 68, 5, 12} is to be sorted in ascending order using the selection sort algorithm. There should be 3 rounds of elements swapping before the list is sorted. Show the array contents after each round of swapping in sequence.
can anybody help with me with these questions?