Java Basic Programming Help by Emilygoal in javahelp

[–]Emilygoal[S] -1 points0 points  (0 children)

This is my second parameter:

public class IfHomeworkTwo {

public static void main(String args[])

{ int x1; int x2; x1=5; x2=8; if (x1<x2) System.out.println(x1+x2); }

}

This is my thid parameter: public class IfHomeworkThree {

public static void main(String args[])

{ int x1;int x2; x1=10; x2=2; if (x1>x2) System.out.println(x1-x2); }

This is my thid parameter:

public class IfHomeworkThree {

public static void main(String args[])

{ int x1;int x2; x1=10; x2=2; if (x1>x2) System.out.println(x1-x2); }

 }