# plz i need for ur help plz plz plz plz plz

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

1. ### without nameNew Member

Joined:
Oct 24, 2007
Messages:
6
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.
o Meaningful variable names
o Indentation

thanks
goodbye

2. ### DaWeiNew Member

Joined:
Dec 6, 2006
Messages:
835
5
Trophy Points:
0
Occupation:
Semi-retired EE
Location:
Texan now in Central NY

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 nameNew Member

Joined:
Oct 24, 2007
Messages:
6
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

Joined:
Jul 12, 2004
Messages:
15,328
377
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 nameNew Member

Joined:
Oct 24, 2007
Messages:
6
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

Joined:
Jul 12, 2004
Messages:
15,328
377
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 nameNew Member

Joined:
Oct 24, 2007
Messages:
6
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.
o Meaningful variable names
o Indentation

thanks goodbye

8. ### without nameNew Member

Joined:
Oct 24, 2007
Messages:
6
0
Trophy Points:
0

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

Joined:
Jul 12, 2004
Messages:
15,328
377
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.

10. ### without nameNew Member

Joined:
Oct 24, 2007
Messages:
6
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

Joined:
Jul 12, 2004
Messages:
15,328
377
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_svNew Member

Joined:
Jan 21, 2008
Messages:
9
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:

Joined:
Jan 9, 2008
Messages:
356