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 (i.e., a, b, and c) and
submit it as part of your solution.
a. Declare a single-dimensional integer array of size 10 and prompt the user to enter 10
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:
draw the flow chart please Write a C + + program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!