-
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
-
it has to be done in qbasic?
-
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
-
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
-
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
-
Sorry for beeing ignorant, but what is the MIS?
the Master of Information Science???