Random projects in Java
-
Updated
Aug 26, 2017 - Java
Random projects in Java
Write a C program that that asks positive numbers from the user. The sentinel value is -1 for this program (i.e when the user enters -1 the data entry job finishes). When the user enters -1 and press “Enter” key, your program should print the value of the second smallest element of the sequence. For example if the sequence is {17, 2, 37, 5, 13, …
Add a description, image, and links to the second-smallest-number topic page so that developers can more easily learn about it.
To associate your repository with the second-smallest-number topic, visit your repo's landing page and select "manage topics."