rss
Twitter Delicious Facebook Digg Stumbleupon Favorites
Showing posts with label minimum. Show all posts
Showing posts with label minimum. Show all posts

Friday, October 7, 2011

Find the minimum of two numbers

class Minimum{


      public static void main(String args[]){
      int i = Integer.parseInt(args[0]);
      int j = Integer.parseInt(args[1]);
      int result = (i<j)?i:j;
      System.out.println(result+" is a minimum value");
  }
}
Powered by Blogger.