plz i need for ur help plz plz plz plz plz

Discussion in 'C' started by without name, Oct 24, 2007.

  1. without name

    without name New Member

    Joined:
    Oct 24, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    this is my Q:



    i must use:

    Arrays of Structures
    Searching
    Sorting
    Recursion

    Question

    Write a menu driven C program for manipulating the records of students in a classroom. The class may include at most 50 students. A student record consists of the following information:
    • Student name (max 50 chars string)
    • Student id number (7 digits id number)
    • Student GPA: grade point average (float between 0 and 4.0)

    The program should perform two major tasks. First, it reads the data of N students (where N is a number selected by the user). Then, the program allows the user to perform any combination of the following tasks:

    1. Add a new student to the classroom.
    2. Delete a student from the classroom.
    3. Modify the record of a particular student in the class.
    4. Sort - using insertion sort - in two different ways (ascending and descending) the records of the students according to:
    a. Student name or
    b. Student id
    5. Print the record of a particular student given his:
    a. Name or
    b. Id number.
    6. Print the records of all the students in the classroom.
    7. Exit the program.

    Remarks:

    • No two students share the exact name
    • No two students share the exact id number
    • Before adding a new student, make sure that the student is not already in the class. In other words search for the student using a recursive sequential search algorithm.
    • The user is allowed to delete a student based on:
    o Student unique name
    o Student id number.
    • The user can modify the GPA of a student given his name or id number.
    • Implement a recursive function to print the records of all the students in the classroom.
    • Follow good programming style:
    o Meaningful variable names
    o A lot of comments
    o Indentation







    thanks
    goodbye
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    Please read the "Before you make a query" thread.

    Incidentally, your judgement that you know better how to format your post than Shabbir does (by oversizing and coloring your text) is a gross misaprehension on your part. I, personally, find it a complete turn-off.

    Your subject line is totally useless as a searchable problem for future users of the forum. Again, read the thread mentioned - it's the culturally polite thing to do.
     
  3. without name

    without name New Member

    Joined:
    Oct 24, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    i wrote the programe but i had a mistake

    i want some one to check my program and tell me what is the miss take plllllz

    if anybody want send a privet msg to me


    thanks
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Do you feel like reading your own post. At least I don't. If you make that very same post with some decent font and other things I may think of reading it.
     
  5. without name

    without name New Member

    Joined:
    Oct 24, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    i dont understand what do u mean about my bost it looks ok
    plz help me about the program i want it tommorw
    and iam arabin girl i dont speak english good
    dont help me but try to help me
     
  6. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    I was talking about the font and colour of your font in the post which is not what is good and readable format and have you done anything with the assignment or is looking for the complete solution in the forum
     
  7. without name

    without name New Member

    Joined:
    Oct 24, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    this is my Q:



    i must use:

    Arrays of Structures
    Searching
    Sorting
    Recursion

    Question

    Write a menu driven C program for manipulating the records of students in a classroom. The class may include at most 50 students. A student record consists of the following information:
    • Student name (max 50 chars string)
    • Student id number (7 digits id number)
    • Student GPA: grade point average (float between 0 and 4.0)

    The program should perform two major tasks. First, it reads the data of N students (where N is a number selected by the user). Then, the program allows the user to perform any combination of the following tasks:

    1. Add a new student to the classroom.
    2. Delete a student from the classroom.
    3. Modify the record of a particular student in the class.
    4. Sort - using insertion sort - in two different ways (ascending and descending) the records of the students according to:
    a. Student name or
    b. Student id
    5. Print the record of a particular student given his:
    a. Name or
    b. Id number.
    6. Print the records of all the students in the classroom.
    7. Exit the program.

    Remarks:

    • No two students share the exact name
    • No two students share the exact id number
    • Before adding a new student, make sure that the student is not already in the class. In other words search for the student using a recursive sequential search algorithm.
    • The user is allowed to delete a student based on:
    o Student unique name
    o Student id number.
    • The user can modify the GPA of a student given his name or id number.
    • Implement a recursive function to print the records of all the students in the classroom.
    • Follow good programming style:
    o Meaningful variable names
    o A lot of comments
    o Indentation







    thanks goodbye
     
  8. without name

    without name New Member

    Joined:
    Oct 24, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    how about it now ?

    i wrote the program but i has error
    i want some one to correct them to me
    can u check my program plz?
     
  9. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Looks fine and I have deleted the double post. I could not see your program and can you share that with us. Remember do not post it as an attachment but use code blocks in the posts to explain where you think the probable error.

    I would you read Hints before you make a post to help you in posting your queries.
     
  10. without name

    without name New Member

    Joined:
    Oct 24, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    you wast the time shabbir


    i must send the home work now to my dr & i dont get any thing from ur forum


    any way
    thanks
     
  11. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    The same thing applies to you as well. You don't seem to be reading the guidelines and so you waste your time. If you don't do your homework then no one else will do it for you. We are here to help you out if you are stuck some where and not here to complete your assignments.
     
  12. vignesh_sv

    vignesh_sv New Member

    Joined:
    Jan 21, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    i can help u if want dis in visual basic or java... bcoz this can easily done by connecting any data base(u can use msaccess for it) then u can
    create ur own tables with description...try it...it'll b easy :nice:
     
  13. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA


    Not like that... Just try to understand. I am 100% confidence you will get the solution of your problem. Please post you code.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice