Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please read the tasks well and get me a program for this please . show working of screen of code used and must get output
please read the tasks well and get me a program for this please . show working of screen of code used and must get output as shown in task one please and please , will give you a like .. (C++)
3.1 Task One Write a modular program that analyzes the exam score of Program Design A. (1) In addition to the main function, the program should design a ReadData(...) fiuction to get the exam scores of all 20 students from a file called "scores.txt" (2) After having got these data, the program then displays all these data on screen (3) Design the function void Score Analysis...) that finds out the average score, the max, and the minimum scoren. By calling this function, the main should these results on the screen Program Execution would be like the following *Exam Analysis of PD 2020========== 73 85 46 76 60 82 65 66 60 85 87 83 49 90 95 57 65 61 96 90 Average score : 73.55 Maximum score : 96 Mininum score: 46 112 Task 32 Define a function called show_array that displays the contents in the array on the terminal window. You then use this function to display the contents of the array you created in the previous task by passing it to the fimction Task 3.3 Write a program that applies the bubble sorting algorithm to sort the previously obtained any in order. The following figure illustrates the idea of bubble sorting, and a prendo algorithm for implementing bubble sorting is also given Illustration of Bubble Sorting Algorithm 7 + 24 5 61 5 3 1B17 7 24 11 N 11 2 3 3012478 152478 1366 2147B 5613 1 8 72 4 0 + 2 3 4 53116 724 316 724 3156 7124 315 67 24B 31562 48 12 13 5361 8712 4 13 1-4 3 3-4 105 51 311 68 724 1 35 1478 1352478 124 1-5 5 5 3 1 1 687 214 31 15162174 ll 16 53 1 --- 6 7 | 8 24 136 5 3167284 =7 5 n4 > = 3 0 1 2 3 4 5 6 7 o S Illustration of Bubble Sorting Algorithm n8 ? + S T 12 4 5 6 7 1 B 7 2 4 11 5 3 1 672 12 3 0 n=6 3 0 1 2 5 9 7 G 5 3 -1 3 1 56 2. 4 78 1 = 1 OL 3 llon 1 87 4 4 2 3 3 5 1 1=2 1 3 5 624B j=2 3 5 36 1 B 7 | 214 NININ 13 3 1 1 1 1=3 E! . 6 3 8 311 71214 14 1 672 4 5672 48 5672 40 5 672 4 5 6 2 1114 1 35624 28 1 3 5 248 135264 296 14 5 3 1 I 1-5 24 31 68 15 1-5 3 1 91 = 6 5 31 1 3 7 B. 24 16 un llom 5 311 dll SIL 6 7 28 17 Po 4 n5 2 3 5 O 2 4 S 3 4 0 1 2 3 5 0 1 1 8 + 5 214 6 78 11 13 2 2 45 78 1=1 1 2 3 6 7 8 121 5 13 1 246 78 12 1324S 678 12 1 2 3 4 5 6 7 8 1=2 1 3 52 46 78 E=1 1 2 3 4 5 GB 1=3 113 2 54 6 78 Dar n2 12 . 5 1 24 B 1=1 La Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started