public class berhitung {
public static void main(String[] args) {
int o,p,q;
System.out.println("diketahui");
System.out.println("o=10");o=10;
System.out.println("p=
4");p=4;
System.out.println("q=12");q=12;
System.out.println("hasil:");
System.out.println("o*p="+(o*p));
System.out.println("q-o="+(q-o));
System.out.println("q/p="+(q/p));
}
}
Sabtu, 30 Oktober 2010
listing program aritmatika
Diposting oleh pasccapucca di 06.28
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar