Lorven Public School: I. Fill in The Blanks. 10M
Lorven Public School: I. Fill in The Blanks. 10M
b. Write a program to create an integer array and read the elements and display the array. Find out
the biggest and smallest elements of the array and display them as output.
c. Write a program to find the frequency of a number in an integer array and display the frequency
as output.
d. Write a program to create a character array and read elements into it. Count the number of ovals
in the array and display them. Display the total number of ovals in the array as well.
e. Given 2 arrays,
• a [] = {1,2,3,4,5}
• b [] = {6,7,8,9,0}
write a program to merge the given arrays such that the merged array (r) has the elements in
the following order
r [] = {1,6,2,7,3,8,4,9,5,0}