help me with this pragram

telfer's Avatar
Go4Expert Member
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.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
This font annoys me and so I would not even like reading your post as well.
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
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.
0
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Quote:
Originally Posted by xpi0t0s View Post
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.

Last edited by SaswatPadhi; 1Jun2009 at 06:49.. Reason: Missed a '/'
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
At times you need to make some large fonts for titles or small fonts for some Notes and other things.
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
yep but for Articles, not for forum discussions. Emphasis can be done WITH CAPS or perhaps
with underlining
------------------
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.
0
telfer's Avatar
Go4Expert Member
xpi0t0s
0
telfer's Avatar
Go4Expert Member
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
0
telfer's Avatar
Go4Expert Member
sorry

because = becase