Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   help me with this pragram (http://www.go4expert.com/forums/help-pragram-t17762/)

telfer 31May2009 20:05

help me with this pragram
 
Please I need your help to solve this question:
Suppose I have the following text file:
Jone 68
Mary 90
Telfer 87
David 82
Nelson 95
Beanchi 73
...

I want a C program to perform the following requirements:

-----------------------The Main Menu----------------------


1.Displaying the file contents
2.Adding a student ( name <=10 characters, 0<=grade<=100)
3.Searching for a student
4.finding the student with maximum grade
5.Sorting the students according to their grade (increasing order)
6.Sorting the students according to their names ( A is the first)
7.Counting how many student are in the file
8.Making a curve to push the students' grades (>=90+1, >=80+2, >=70+3, >=60+4,).
9.finding the mean and the standard deviation of the students' grades
10.Deleting a student from the file
11.Exit
-----------------------------------------------------------
I will be grateful if you help me. pleeeeeeeeeeeeeeeese...

I am waiting for your answer.
Thank you.

shabbir 31May2009 21:34

Re: help me with this pragram
 
This font annoys me and so I would not even like reading your post as well.

xpi0t0s 1Jun2009 01:43

Re: help me with this pragram
 
shabbir: well it's your site so why do you allow fonts? I don't see why they're necessary at all.

telfer: well, what you describe isn't a difficult assignment. Where are you up to and where are you stuck?
Can you display the menu yet and get input from the user as to which option they want?

If you can do that then I would suggest taking the options one at a time and write and test the code for each one before moving on to the next. The first one should be easy enough to do; can you manage that?

nb: this isn't a free homework service, but we will help you learn if you're interested.

SaswatPadhi 1Jun2009 06:47

Re: help me with this pragram
 
Quote:

Originally Posted by xpi0t0s (Post 48680)
shabbir: well it's your site so why do you allow fonts? I don't see why they're necessary at all.

+1. I agree completely.

shabbir 1Jun2009 09:59

Re: help me with this pragram
 
At times you need to make some large fonts for titles or small fonts for some Notes and other things.

xpi0t0s 1Jun2009 13:48

Re: help me with this pragram
 
yep but for Articles, not for forum discussions. Emphasis can be done WITH CAPS or perhaps
with underlining
------------------

shabbir 1Jun2009 15:04

Re: help me with this pragram
 
I guess there is no point in restricting 80% of people to provide something where 20% of people misuse it but then this 20% people can be told and this 20% people can be reduced to very nominal value.

telfer 1Jun2009 18:57

Re: help me with this pragram
 
xpi0t0s

telfer 1Jun2009 19:03

Re: help me with this pragram
 
xpi0t0s

I need this parogram becase I want to see how its work...

I didn't try to write a parogram becase I don't know.

but, I can read a parogram and uese it .


I will be grateful if you can write this c++ parogram

Thinks

telfer 1Jun2009 19:12

Re: help me with this pragram
 
sorry

because = becase


All times are GMT +5.5. The time now is 00:57.