Question: Any idea on how to do the flowchart for this C++ programming? tqsm. #include using namespace std; void insertArray(int arr[],int size)//inserting element { cout <

Any idea on how to do the flowchart for this C++ programming? tqsm.

#include using namespace std; void insertArray(int arr[],int size)//inserting element { cout<<"Enter 20 element one by one: "; for(int i=0;i<20;i++)//taking input from user { cin>>arr[i]; } } void sortArray(int arr[],int size) { for(int i=0;iarr[j+1])//if arr[j]>arr[j+1] { int temp=arr[j];//swap arr[j]=arr[j+1]; arr[j+1]=temp; } } } } double Mean(int arr[],int size) { int sum=0;//average findinf for(int i=0;i>choice; if(choice==1) { insertArray(arr,20); } else if(choice==2) { sortArray(arr,20); cout<<"sorted Array: "; for(int i=0;i<20;i++) cout<

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 Databases Questions!