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

Nested Classes Many a times, it becomes essential to have a class contain properties of two other classes. One way is to explain a class within another - that is a class with m

write a promgram using object oriented peramid

Rule: To determine the canonical form we should OR the min terms. A min term is defined as a Boolean equation of the input if the output is logic '1'. If the input is logic '1'

Write a program to define a matrix: 1. Write a function that takes an integer and calculates and returns the factorial of the integer. The Factorial of a number "n" is compute

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

To store a date use a structure that contains three members date, month and year. If the dates are equal then display message “Equal” otherwise “Unequal” Program structure: main()

What is the difference between an external iterator and an internal iterator? Ans) An internal iterator is executed with member functions of the class that has items to step th

Program is to perform all the functions that are performed in a super bazaar: class stock   {   private:     int itno;     char itname[20];     char brname[20];

Explain about the Expressions in c Language? An expression is the combination of constants, variables and operators arranged as per the syntax of the language. Some of the illu