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
In which condition a template a better solution than a base class? A: While you are designing a generic class to contain or manage objects of other types, while the format & beh

Write algorithms to implement the insertion and deletion operations.

i need a program that generates this output: The highest card wins! Suit Order is: clubs, diamonds, hearts and spades The computers card is the 5 of Spades. The player’s card is t


Generate a class node that contains an integer id, a position (x, y)  and a vector of 0 5,  generate a set of  x nodes each with random connectivity n.    Implement an algorith

Problem : (a) Stacks can be implemented using arrays. Write down the following C or C++ function to (i) create a stack (ii) add an element to a stack (push). (b) Expl

program area under the curve y=f(x) between x=a & y=b, integrate y=f(x) between the limits of a & b   Solution: #include float    start_point,            /* GLOBAL V

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

wap to read an employee salary and calculate DA,HRA,pf,GROSS,NET conditions:- BASIC DA HRA PF >10000 7% 9% 10% & >20000 9% 11% 15% &

Pure Virtual Functions An abstract class is one, which is used just for deriving some other classes. No object of this class is declared and used in the program. Likewise, ther