1.
Write a program to input 10 numbers into an array and find the maximum and minimum
element in the array.
2.Input 5 values into an array A. Copy all the values into another array B, and display both
arrays.
3.Write a program to input 10 integers into an array and count how many of them are even
and how many are odd.
4.Input 5 elements into an array. Check whether the array is a palindrome (i.e., same
forward and backward).
5. Input 10 integers. Calculate the sum of: The first 5 elements and The last 5 elements
.Display both sums separately.
6. Input 10 numbers into an array. If any number is negative, replace it with 0 and display the
updated array.
7.Input a word into a character array and display each character on a new line.
8.Create a character array, input a string, and count the total number of characters (length).