Jumat, 30 Desember 2011

program aritmatika

public class Aritmatika
{

public static void main(String args[])
{

System.out.println("2*5+6/3-1 = " + (2*5+6/3-1));
System.out.println("8%3+7-3*2 = " + (8%3+7-3*2));
System.out.println("12/2*5-3%3= " + (12/2*5-3%3));
System.out.println("9-1*5+4/2 = " + (9-1*5+4/2));
}
}

0 komentar:

Posting Komentar

Statistik

Translate

Blog Archive