Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions