Mean

oleh:
arif zainurrohman

public class Rata {
/** Creates a new instance Rata */
public Rata () {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int a = 10;
int b = 20;
int c = 45;
int r = 0;
r = ((a+b+c)/3);
System.out.println("number 1 = " + a);
System.out.println("number 2 = " + b);
System.out.println("number 3 = " + c);
System.out.println("Rata - rata = " + r );
}
}

Ibu kota , 5 muharram 1435 H

0 komentar:

Posting Komentar