Question: draw the flow chart please Write a C + + program that performs the following tasks. Before you start programming, you are requested to draw
draw the flow chart please
Write a C program that performs the following tasks. Before you start programming, you
are requested to draw the flowchart that represents the first three tasks ie a b and c and
submit it as part of your solution.
a Declare a singledimensional integer array of size and prompt the user to enter
values to be stored in the array as shown in the sample output.
b Prompt the user to enter an integer value to be used as a key.
c Search the array elements to determine the number of occurrences of the key in the array.
The result should be printed on the console as shown in the sample output.
d Search the array elements to determine the smallest index which contains the same value
as the key. The result should be printed on the console as shown in the sample output.
Sample Output:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
