BLOGGER TEMPLATES AND TWITTER BACKGROUNDS »

Selasa, 19 Oktober 2010

Tugas Java


public class Nita
{
public static void main ( String [] args ) {
var a=10;
var b=20;
var c=40;
System.out.println(a="10");
System.out.println(b="20");
System.out.println(c="40");
System.out.println(a>b ="a>b");
System.out.println(b System.out.println(c-a ="c-a");
System.out.println(b-a ="b-a");
System.out.println(c*a ="c*a");
System.out.println(b*a ="b*a");
System.out.println(c/b ="c/b");
System.out.println(c/a ="c/a");
System.out.println(c=a ="c=a");
System.out.println(b/a ="b/a");
System.out.println(a!=b ="a!=b");
System.out.println(c!=b ="c!=b");
System.out.println(c%a ="c%a");
System.out.println(b%a ="b%a");
}
}

0 komentar: