Programming tutorials online .NET, Java, C++, Visual Basic, and More
 

Home
.NET Tutorials
General Programming Tutorials
Community/Forums
Site Extras

 

C/C++ Forum
 

Open forum for posting questions or comments regarding C/C++.


POST REPLY
Posted By: rash20   5/8/2007 3:47:00 AM
 
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
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...



 
Sign In
Email
Password
  Forgot my password

Search

Featured Book

Introducing Microsoft .Net, Third Edition ($19.79)
Introducing Microsoft .Net, Third Edition


Featured Software

Microsoft Visual Studio Standard 2005 ($249.99)
Microsoft Visual Studio Standard 2005