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
Explain the parts of operators Assignment Operators The equal (=) sign is used for assigning a value to another. The left hand side has to be a variable (lvalue, which exc

Create a function ValueDelta(char inName[], char outName[]) that reads a text file with option specifications and writes the option values as well as Delta. The inName[] file conta

how to create a flowchart? can you help me in my assignment about flowcharting ....

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers

#include #include #include #include #include class Employee { private: char *Name; //Set them as pointers... int IdNumber; char *Department; char *Position; public: voi

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.

d county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Necklaces

Constructor and Destructor function with derived classes If there are constructors included in the base class and the derived class, the compiler automatically calls both of th

Define External Storage Class - computer programming? When a variable is declared outside a function the storage is permanently assigned to it and its storage class is 'extern'

Write an algorithm for multiplication of two sparse matrices using Linked Lists.