Thread: Need help with the program which keeps records and perform statistical analysis?

  1. #16
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by Iron Hide View Post
    wow seriously, all I need is a start. I am not asking to do all for me, I am new and you can't expect everything from me. All you guys did was point out errors in that code but I need to know what I need to do next, just a start.

    Thanks
    You know what you need to do next, you wrote it down in the first post:
    "You will read the input data from an input file scores.txt, and data is in the format (studentID, exam1, exam2 and exam3). Each line of data for one student will be assigned to a struct object.
    Consequently, you will need an array of structs to store all the data read from the input file. This will be a 1-dimensional array.
    Your are required to calculate and display the following statistics for each exam. The statistics to be shown will be the:
    - lowest score.
    - highest score.
    - average score rounded to 2 decimal place.
    - standard deviation rounded to 2 decimal place.
    "
    That is what you need to do.

  2. #17
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Iron Hide View Post
    wow seriously, all I need is a start.
    Given that it took us 3 days to get you to see a painfully obvious problem in your program... you need a lot more than a start.

    I am not asking to do all for me,
    Yes, you are. I've not seen you make any effort whatsoever.

    I am new and you can't expect everything from me.
    Yes, we can. It's not our project and it's not our homework... now is it?

    All you guys did was point out errors in that code but I need to know what I need to do next, just a start.
    Well, the next thing you need to do is to sit down and start working on this yourself.

    I'm more than happy to help anyone who's making an effort on their own and showing a desire to learn... You aren't.
    We are 2 days and 14 messages into this and your code is still exactly the same as when you started.

    With a lot less time and effort you probably could have done this entirely on your own.

  3. #18
    Banned
    Join Date
    Apr 2011
    Posts
    56
    Alright, I think you guys are right. I am relying more on internet than thinking myself. This programming class was a prerequisite for my degree so that's why I wasn't really working hard on it.

    Thanks anyways and geee I hate that Salem guy, freakin spammer .. jk... lol

  4. #19
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Iron Hide View Post
    Alright, I think you guys are right. I am relying more on internet than thinking myself. This programming class was a prerequisite for my degree so that's why I wasn't really working hard on it.
    So, given a course you have to pass to get your degree... you decided you'd just slack off on it?
    You may want to give that a whole lot more thought.


    Thanks anyways and geee I hate that Salem guy, freakin spammer .. jk... lol
    AND one of the local moderators!

  5. #20
    Banned
    Join Date
    Apr 2011
    Posts
    56
    he is still a freak

  6. #21
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Iron Hide View Post
    he is still a freak
    And you're one to talk?

  7. #22
    Banned
    Join Date
    Apr 2011
    Posts
    56
    lol what?

  8. #23
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Iron Hide View Post
    lol what?
    You come in here asking us to do your work for you... don't listen to anything we say, then jump over to another forum and start the whole thing over again... You are in no position to criticise anyone.

  9. #24
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Oh wow... you really don't understand this at all do you?

    You asked for a code review... we gave it to you.
    You asked for what to do next... that's utterly pointless until you fix what you've got.
    You made zero --zilch, nada, none-- effort to do anything on your own.
    All you really did was make demands of good people who volunteer their time.
    FWIW -- the only reward any of us gets for any of this is seeing someone "get it"... and you don't.

    If you think the problem is here... try again... Take a look at some of the other threads here. You will see people climb right into the job of helping someone even to the point of teaching them "from scratch"... You will also see the same people blow questioners off in what appears to be an offhanded manner... Ok now why the difference? The difference is that the ones who get help are willing to do the work and learn a little something along the way. The ones who get a hard time are the "Please do this for me" crowd who expect us to just hand them finished code so they can be merrily along their ignorant way.

    Now... which group do you think you fall into... The "Please help me do this" or the "Please do this for me"...

    Next time, show some initiative, make an effort... and don't be splashing your bad code all over the internet.

    You're in a diplomate curiculum trying to slide through with a minimum of effort... and it's not OUR job to make sure you pass.

  10. #25
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,666
    Bored now....

    50+ posts of zero effort, and ..........ing about what is (or isn't) good forum etiquette.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. linear regression and statistical analysis in c
    By bored_guy in forum C Programming
    Replies: 3
    Last Post: 05-04-2011, 12:38 AM
  2. Student records program
    By mugiwara528 in forum C Programming
    Replies: 3
    Last Post: 03-14-2011, 02:53 AM
  3. Beam or Frame Analysis for Structural Analysis
    By greenmania in forum C Programming
    Replies: 3
    Last Post: 05-05-2010, 05:40 PM
  4. Program not reading in records
    By adrea in forum C++ Programming
    Replies: 3
    Last Post: 12-13-2002, 02:54 AM
  5. Program Analysis
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 11-13-2001, 08:15 PM