Arrays:

Q1: Write a program to find the sum of elements in an array.

Q2: Write a program to find the average of elements in an array.

Q3: Write a program to find the largest element in an array.

Q4: Reverse the order of elements in an array.

Q5: Implement sorting algorithm to sort an array in ascending or descending order.

Q6: Remove duplicate elements from an array, leaving only unique elements.

Q7: Write a program to search for a specific element in an array and print its index or occurrence count on screen. (Hint: You can use for loop and conditional statement for searching).

Q8: Given an array and a target sum, find two numbers that add up to the target sum.

Q9: Find and print common elements in two arrays.

Q10: Find the union of two arrays

Q11: Flatten a multi-dimensional array into a single-dimensional array.

Q12: Generate the Fibonacci series up to a given number using an array.