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
|
Team Leader
|
![]() |
| 24Oct2007,20:36 | #2 |
|
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. |
|
Light Poster
|
|
| 26Oct2007,02:51 | #3 |
|
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 |
|
Go4Expert Founder
|
![]() |
| 26Oct2007,08:36 | #4 |
|
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.
|
|
Light Poster
|
|
| 26Oct2007,14:31 | #5 |
|
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 |
|
Go4Expert Founder
|
![]() |
| 26Oct2007,17:49 | #6 |
|
Quote:
Originally Posted by without name |
|
Light Poster
|
|
| 27Oct2007,02:10 | #7 |
|
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 |
|
Light Poster
|
|
| 27Oct2007,02:19 | #8 |
|
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? |
|
Go4Expert Founder
|
![]() |
| 27Oct2007,08:42 | #9 |
|
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. |
|
Light Poster
|
|
| 28Oct2007,00:30 | #10 |
|
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 |


