Write a single program to do all of the following: First your program should declare an array of 10 integers using an in
Posted: Tue Jul 12, 2022 8:04 am
Write a single program to do all of the following: First yourprogram should declare an array of 10 integers using an initializerlist. Next, the program should sort the array into decreasingorder. Then the program should print out the elements of the sortedlist. Finally, the program should search the array to see whetherinteger 30 is present.