I need to do this program for an example workshop but cant get my head around it:
Program details as follows:
Input to the program the exam number and computer arch and programming results for 10 people. Three arrays - ExamNo, Arch and prog are used to hold these items. The First name and surname of each student should also be entered, concatenated into one string and output to an array called wholename
We need to check weather the exam numbers are valid. An exam number should consist of 7 digits only Include a function in your solution that will pass in the exam number, determine if the exam number is valid or not and return an appropriate message. only valid exam numbers should be stored in the array ExamNo
For each of the students, calulatE display the average mark for the class. For the Computer Arch results, find out how many students received below the class average. Find the name of the students with the highest result in each subject. These students' name are to be displayed and told that they will receive a special prize for their outstanding results.
For programming results, calulate and display standard deviation. I think this is the following steps in order to get it
1. Calculate the average of the programming results
2. Calculate the variance(d) by subtracting each result from the average
3. Square each of these results to get variance squared.
4. Sum all the variances squared
5. Divide by the number of numbers
6. Get the Square root of the result which is the standard Deviation.
Display the exam number, whole name and both results for all students.
Let me know what ya think.