/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aritmatika;
/**
*
* @author jaya
*/
public class Aritmatika {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int a=8;
int b=2;
int c=a-b;
int d=a/b;
int e=a+b;
int f=a*b;
System.out.println (c);
System.out.println (d);
System.out.println (e);
System.out.println (f);
}
}
Jumat, 19 Juli 2013
Membuat Aritmatika dengan Java Netbeans
21.21
No comments
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar