import java.io.*;
class CompareTwoNo{
public static void main(String[] args) {
try{
int num1 = Integer.parseInt(args[0]);
int num2 = Integer.parseInt(args[1]);
if(num1'/<'/num2){
System.out.println("Number " + num1 +" <" + " Number " +num2);
}
else
{
System.out.println("Number " + num1 +" >" + " Number " +num2);
}
}
catch(Exception ex){
ex.printStackTrace();
}
}
}
Friday, August 14, 2009
Subscribe to:
Post Comments (Atom)
it will be good if you can put 2 lines about the code ... kind of problem statement :)
ReplyDelete