1. ## could you pls help me with this?please.

im just new in c programming.I hope you could help me with these following problem.

1. write a program that reads positive integers until end-of-file and then prints the largest and smallest values.

2. write a program that reads integers until end-of-file and then prints the largest and the second largest values?

3. write a program that reads integers until end-of-file and then prints YES if the numbers do not decrease and NO otherwise.(the numbers do not decrease if for every pair n1, n2 in succession we have n1<=n2.)

4. write a program that reads integers until end-of-file and then prints the maximum sum of consecutive values.

pls help me i need it before thursday...please..thank you very much...

2. Originally Posted by rash20
im just new in c programming.I hope you could help me with these following problem.

1. write a program that reads positive integers until end-of-file and then prints the largest and smallest values.

2. write a program that reads integers until end-of-file and then prints the largest and the second largest values?

3. write a program that reads integers until end-of-file and then prints YES if the numbers do not decrease and NO otherwise.(the numbers do not decrease if for every pair n1, n2 in succession we have n1<=n2.)

4. write a program that reads integers until end-of-file and then prints the maximum sum of consecutive values.

pls help me i need it before thursday...please..thank you very much...
I'm new to the programming myself and new to this forum, but I'm pretty sure that all your going to get from the post you made is some nasty remarks, no one will do your programs for you and you did not give anyone information so they may even be able to help you.

Now wait for the guy with the signature "printf("DO YOUR OWN HOMEWORK")" (=

3. Originally Posted by Ravens'sWrath
I'm new to the programming myself and new to this forum, but I'm pretty sure that all your going to get from the post you made is some nasty remarks, no one will do your programs for you and you did not give anyone information so they may even be able to help you.

Now wait for the guy with the signature "printf("DO YOUR OWN HOMEWORK")" (=
... we're not that mean. It's just that we wished more people knew about the FAQ, the FAQ board, and read the forum stickies. Cause questions can get repetitive, despite the plethora of information out there. If anyone took the time to wander through our FAQ, they'd find some gems in there.

Not that all the articles are particularly stunning, but it's pretty thorough. Maybe that was our first mistake.

Or if they do have an interesting question it's poorly thought out and we spend ~10 posts worming out the actual issue.

4. Originally Posted by citizen
... we're not that mean. It's just that we wished more people knew about the FAQ, the FAQ board, and read the forum stickies. Cause questions can get repetitive, despite the plethora of information out there. If anyone took the time to wander through our FAQ, they'd find some gems in there.

Not that all the articles are particularly stunning, but it's pretty thorough. Maybe that was our first mistake.
Well...Some more than others (=
I'm just informing him maybe not in the best way (= That he can formulate his questions in a better way and to let him know that he needs to show the people here what he has tried and what he knows / doesn't know, this will allow his questions to be answered.

rash20: If I discouraged you some, I apologize people here are very helpful (=

5. Originally Posted by Ravens'sWrath
Now wait for the guy with the signature "printf("DO YOUR OWN HOMEWORK")" (=
You rang, sir? lol.

6. Originally Posted by MacGyver
You rang, sir? lol.
I was wondering if you were online (=