Write a C/C++ program that will enable the user to enter any number of positive integer numbers from the terminal. When the user enters a negative number the program should print the largest and the second largest number before quitting. Test your program with a variety of number sequence to test the validity of your algorithm. Submit source code and screen outputs.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
Windows Xp MS Visual C++