Results 1 to 6 of 6

Thread: I need a program written

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4

    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

  2. #2

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4

    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

  4. #4
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    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!

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4

    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

  6. #6
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    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
  •  



Click Here to Expand Forum to Full Width