Question: ****Complete this program by filling in the code (places in bold). Note: use only pointer variables when instructed to by the comments in bold.**** USING

****Complete this program by filling in the code (places in bold). Note: use only pointer variables when instructed to by the comments in bold.**** USING C++ LANGUAGE********Complete this program by filling in the code (places in bold). Note: use only pointer variables when instructed to by the comments in bold.**** USING C++ LANGUAGE****

****Complete this program by filling in the code (places in bold). Note:

use only pointer variables when instructed to by the comments in bold.****

USING C++ LANGUAGE********Complete this program by filling in the code (places in

// This program demonstrates the use of dynamic arrays / PI PCE YOUR NAME HERE int main() f float *monthsales = nullptr; // a pointer used to point to an array // holding monthly sales float total =0;// total of all sales float average; // average of monthly sales int numofsales; // number of sales to be processed int count; // loop counter cout numofsales; // plll in the code to allooate memory for the array polnted to by // monthsales. f 4) Write a program that will read scores into an array. The size of the array should be input by the user (dynamic array). The program will find and print out the average of the scores. It will also call a function that will sort (using a bubble sort) the scores in ascending order. The values are then printed in this sorted order. Sampie Row Please ingut the nuber of scares 5 Please enter a scurt 100 Please enter a score. 90 Please enter a scure 95 Plesse notar a scert 100 Plesse enter i score the averoge of the seares is 95 Here bre the scores in ascending arder 909095100100 Snippet of the Code: 5) Create a program that will read in id numbers and place them in an array. The array is dynamically allocated large enough to hold the number of id numbers given by the user. The program will then input an id and call a function to search for that id in the array. It will print whether the id is in the array or not. Samble Runs: Please input the nunber of id nurbers to be read 4 Please enter an id nurber 96 Please enter an 1d nurber g? Please enter an id nurber gi. Please enter an id nurber gg

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!