Question: int main ( ) { do { system ( cls ) ; cout < < tCMPR 1 2 1 : Chapter
int main
do
systemcls;
cout
tCMPR: Chapter Pointer assignments by Prof Q ;
cout
t string char;
cout
t Drop the Lowest Score";
cout
t Case Study Modification #;
cout
t Case Study Modification #;
cout
t Median Function";
cout
t Reverse Array";
cout
t Array Expander";
cout
t Element Shifter";
cout
t string char;
cout
t Exit";
cout
t string char;
cout
;
switch inputIntegertOption:
case : exit;
case : challenge; break;
case : challenge; break;
case : challenge; break;
case : challenge; break;
case : challenge; break;
case : challenge; break;
case : challenge; break;
default: cout
tERROR: Invalid option.
;
systempause;
while true;
return ;
void challenge
int size inputInteger
Enter the size of the dynamic array: true;
double scores new doublesize;
srandtime;
int sum ;
for int i ; i size; i
scoresi rand;
cout scores i
;
sum scores i;
no ascending order sort
not eliminate the lowest score from the array
cout
Average: staticcastsumsize
;
delete scores;
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
