Thread: Please do my pitiful homework for me

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    2

    Lightbulb Please do my pitiful homework for me

    Hi everybody>>>>>

    Do you think that you know alot about C language?

    If the answer is yes then try to show us your ability by solving this program,,,,
    my self I solved many problems but this problem shows me that i still have to learn alot. I will leave you try
    Suppose you have the following text file:

    John 68
    Mike 90
    Steven 87
    Jack 82
    Brad 95
    Carlos 73
    ...
    = = = = = = = = = = = = Main Menu = = = = = = = =

    1. Display the file contents
    2. Add a student ( name <=10 characters, 0<=grade<=100)
    3. Search for a student
    4. find the student with maximum grade
    5. Sort the students according to their grade (increasing order)
    6. Sort the students according to their names ( A is the first)
    7. Count how many student are in the file
    8. Make a curve to push the students' grades (>=90+1, >=80+2, >=70+3, >=60+4,…).
    9. find the mean and the standard deviation of the students' grades
    10. Delete a student from the file
    11. Exit


    = = = = = = = = = = = = End = = = = = = = = = = = =

    Good luck
    >>>>>>>>>>>>>>

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Given that all I have is a text file and no actual problem, it looks pretty easy.

    Also, given that this is quite obviously homework, nothing will happen here unless you ask a specific question.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Big challenge? Not really. Take this for a challeng: Two processor system, with different processor architecture. Modify the driver for the graphics running on one system, so that you can access a bitmap image from two different processes on the other processor.

    But at the level of homework of this type, it probably doesn't mean much to you.

    But it's NOT a big challenge to write your homework. Not compared to professional work.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Not even close to hard
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  5. #5
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by ಠ_ಠ View Post
    Not even close to hard
    Ditto. Fluff. These lips are sealed.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  6. #6
    Registered User
    Join Date
    Aug 2008
    Location
    Belgrade, Serbia
    Posts
    163
    The biggest challenge ever
    I just lulz at this.
    Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
    What profit hath a man of all his labour which he taketh under the sun?
    All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
    For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.

  7. #7
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by hauzer View Post
    I just lulz at this.
    I lol'd at the improper use of lulz
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  8. #8
    Registered User
    Join Date
    May 2009
    Posts
    2
    just bla bla bla....................
    show me philosophers

    not even hard >>>>he said.

  9. #9
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    I have a solution to your problem, but it involves an ice pick and shaving half you pubic hair off.

  10. #10
    Registered User
    Join Date
    Oct 2008
    Posts
    115
    Quote Originally Posted by abachler View Post
    I have a solution to your problem, but it involves an ice pick and shaving half you pubic hair off.
    sorry but this made me laugh.....

  11. #11
    Registered User Sharke's Avatar
    Join Date
    Jun 2008
    Location
    NYC
    Posts
    303
    What bothers me about these kids who want you to do their C homework for them is that they obviously have no interest in programming at all, so why the hell are they even taking the subject? I've really enjoyed teaching myself C and have had great fun completing exercises like that.

  12. #12
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Sharke View Post
    What bothers me about these kids who want you to do their C homework for them is that they obviously have no interest in programming at all, so why the hell are they even taking the subject? I've really enjoyed teaching myself C and have had great fun completing exercises like that.
    You know what *sucks* Sharke is this dufus will get a CS degree and beat you on the employment line. That's okay tho, I live in ROCKAWAY BEACH
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  13. #13
    Registered User Sharke's Avatar
    Join Date
    Jun 2008
    Location
    NYC
    Posts
    303
    Quote Originally Posted by MK27 View Post
    You know what *sucks* Sharke is this dufus will get a CS degree and beat you on the employment line.
    Which is why I'm self employed and have been since I left school. Never could cope with taking orders!

  14. #14
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by ಠ_ಠ View Post
    I lol'd at the improper use of lulz
    I scratched my head at the use of 'lulz' since I have no idea what it's supposed to mean.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  15. #15
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by cpjust View Post
    I scratched my head at the use of 'lulz' since I have no idea what it's supposed to mean.
    Just play along dude, no one will notice the diff.ca
    Last edited by MK27; 05-25-2009 at 08:46 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Homework
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 11-03-2001, 04:39 PM
  2. Homework
    By kermi3 in forum C++ Programming
    Replies: 15
    Last Post: 09-26-2001, 03:16 PM
  3. Homework
    By kermi3 in forum Windows Programming
    Replies: 5
    Last Post: 09-15-2001, 11:48 AM
  4. Homework
    By kermi3 in forum C Programming
    Replies: 0
    Last Post: 09-10-2001, 01:26 PM