16. Arrays
• An array is a sequence of data item of homogeneous value(same
type).
• Arrays are of two types:
● One-dimensional arrays
● Multidimensional arrays
26. Exercises
[4,7,1,3,2,6,4,5,8,3]
• Sort array
• Write a program to print array size
• Write a program to print all odd numbers in array
• Write a program to store all even numbers in another array
31. Exercises
[4,7,1,3,2,6,4,5,8,3]
• Write a program to print array elements till the last number that is
entered by user
• Write a program to print all array elements except number that is
entered by user