Thread: Help!! Assignment!

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    4

    Help!! Assignment!

    Question
    Write a complete C program that helps a clinic to keep the health records (id number, name, address, age, weight, height and allergies) of its patients. Assume that there are two types of patient. Children (age <=12) and adult. The maximum patient that the system can accept is 100. The patient allow the user to search for a patient record once their ID is keyed in. The system will keep on looping until the user choose to end the program. Once the user choose to end the system, data on the all the patients will be written on 2 files – children.txt and adults.txt.
    Marks will be awarded based on the following criteria:
    - Data validation for every entered input (eg: Age cannot be -5)
    - Proper usage of user defined functions, structures and strings
    - Proper naming style for variables, functions and files
    - Ability to add data to the existing list
    - Ability present data clearly in the text files
    * Anything else that makes the program more user friendly and efficient

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    1. An assignment is not a bear, and should not require the same sort of cries for help

    2. Announcements - General Programming Boards

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    @OP - don't just dump your assignment on us without effort.
    Closed.
    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. Car assignment help
    By anik18 in forum C Programming
    Replies: 4
    Last Post: 05-09-2009, 09:40 PM
  2. Replies: 3
    Last Post: 04-26-2009, 08:54 AM
  3. C Assignment help
    By aditya_t90 in forum C Programming
    Replies: 5
    Last Post: 03-28-2009, 10:54 AM
  4. 1st Assignment
    By Zeff in forum C Programming
    Replies: 29
    Last Post: 09-19-2006, 07:21 PM
  5. Help With Assignment Please
    By MegaVortex in forum C++ Programming
    Replies: 8
    Last Post: 03-24-2004, 09:40 PM