public class andika
{
public static void main(String[]args){
int a=10;
int b=20;
int c=30;
System.out.println("Nilai Variable....");
System.out.println("a="+a);
System.out.println("b="+b);
System.out.println("c="+c);
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("a!=b="+(a!=b));
System.out.println("c!=b="+(c!=b));
System.out.println("c%a="+(c%a));
System.out.println("c%a="+(c%a));}
}
Tidak ada komentar:
Posting Komentar