Two Smallest (10 points). Write a program TwoSm

Question

Two Smallest  (10 points). Write a program TwoSmallest.java that takes a set of double command-line arguments and prints the smallest and second-smallest number, in that order. It is possible for the smallest and second-smallest numbers to be the same (if the sequence contains duplicate numbers).

Details
Purchase An Answer Below

Have a similar question?