|
-
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
-
Nov 12th, 2001, 03:08 AM
#2
Frenzied Member
it has to be done in qbasic?
-
Nov 12th, 2001, 09:11 AM
#3
Thread Starter
New Member
yes
Yes it had to be done in Qbasic. It is for a qbasic class and I am lost on this one. Thanks for the reply
-
Nov 12th, 2001, 12:47 PM
#4
Frenzied Member
sorry, that I wont post an answer (haven't written qbasic in years and I don't feel like ever starting that again)
but where is there something like a qbasic class? I think there is so many languages that should be taught but qbasic
Sanity is a full time job
Puh das war harter Stoff!
-
Nov 12th, 2001, 08:14 PM
#5
Thread Starter
New Member
Qbasic
For my MIS degree, it requires an intro to programming. I agree the program sucks and has no bearing one you proceed on to a good softwear. I was just looking to see if someone could help me with this problem. Thanks
-
Nov 14th, 2001, 01:49 PM
#6
Frenzied Member
Sorry for beeing ignorant, but what is the MIS?
the Master of Information Science???
Sanity is a full time job
Puh das war harter Stoff!
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
|