Wap avgerage score-assignment- standard deviation of student, C/C++ Programming

finds the average for all assignments for an individual student float getAverageForStudent(float scores[20][10], int student, int numAssignments) {  } 

// finds the average for all students for an individual assignment float getAverageForAssignment(float scores[20][10], int numStudents, int assignment) {  } 

// finds the standard deviation for all students for an individual assignment float getStandardDeviationForAssignment (float scores[20][10], int numStudents, int assignment) {  } 

// prints the table with all scores for all students for all assignments, including the

// averages and standard deviations void printScores(char students[20][50], float scores[20][10], int numStudents, int numAssignments) {  }


You may have more functions if you like, but you must have at least the four functions above and your main function.  Below is a sample execution of the program (user input is bolded):
 
How many students are there (between 1 and 20)? 4

How many assignments are there (between 1 and 10)? 3


Student name: Jeff  

Assignment 1: 100

Assignment 2: 100

Assignment 3: 100 

Student name: Mike

Assignment 1: 50

Assignment 2: 45

Assignment 3: 90


Student name: John

Assignment 1: 100

Assignment 2: 20
Assignment 3: 30  


Student name: Paul

Assignment 1: 20

Assignment 2: 20

Assignment 3: 0

Name  Assn1  Assn2  Assn3  Average

Jeff    100    100    100   100.00

Mike     50     45     90    61.67

John    100     20     30    50.00

Paul     20     20      0    13.33 

Avg   67.50  46.25  55.00    56.25

StdD  39.48  37.72  47.96    35.70  
 
Grading Criteria

0.5% prompting the user the correct number of times based on number of students and assignment.

0.5% printing the output formatted as shown 1.0% computing the average for each student correctly.

1.0% computing the average for each assignment correctly.

1.0% computing the standard deviation correctly.

1.0% for using at least 5 functions .

 

Posted Date: 2/14/2013 6:19:30 AM | Location : United States





Program of Declaring a function, I am looking for a program in C/C++. It would be great if anyone help me learn function in C++ language.

Well, I think that should not be too difficult. You can use this code.

Thanks for suggesting me this code, appreciate your effort.

Posted by | Posted Date: 2/14/2013 6:22:22 AM


Related Discussions:- Wap avgerage score-assignment- standard deviation of student, Assignment Help, Ask Question on Wap avgerage score-assignment- standard deviation of student, Get Answer, Expert's Help, Wap avgerage score-assignment- standard deviation of student Discussions

Write discussion on Wap avgerage score-assignment- standard deviation of student
Your posts are moderated
Related Questions

C Program for FIND EVEN & ODD NO.S IN THE ARRAY #include stdio.h> #include string.h> #include conio.h> void main() {           int i=0,j=0, l_e[100],l_o[100];

c++ coding decode the letters from numbers

Can a copy constructor admit an object of the similar class as parameter, rather than reference of the object?

6#666#665533999 where # is used as space.output is monkey

What is meant by open addressing? Explain various collision resolution techniques with example

I need website Product section search box coding section fix Project Description: On our products section in the search box it only searches the name and title of our product

Depreciation to a salvage value of 0. For tax purposes an item may be depreciated over a period of several years, n. With the straight line method of depreciati


explain me for loop