|
-
Nov 10th, 2001, 04:35 PM
#1
Thread Starter
New Member
I need a program written
This is in Qbasic
I need a program to find the mean(M), varaince(V), and standard deviation (SD) of a variable number of student grades (G1, G2, G3..., GN) With the following three formulas
M= (G1+G2+G3+...+GN)/n
V=[(G1-M)^2+(G2-M)^2+...+(GN-M)^2]/(n-1)
SD= Square Root of V
where n is the total number of grades
It must use READ and DATA statements for the student grades to fill an array that contains 12 elements
Student grades : 94,92,87,93,96,88,78,95,96,87,84,86
then it needs to be written with subprograms instead of subroutines. Each formula must use a different subprogram and use COMMON SHARED in the main to make all variables global.
Tell me what it would cost or if you would be willing to trade any softwear. I have a lot of goodies. thanks, Jeff
P.S. I need this soon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|