/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package nilai_x;
/**
*
* @author seven 32
*/
public class Nilai_x {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
int a=2;
int b=6;
int c=6;
int d=4;
int e=2;
int f=2;
int g=3;
int x=(((b-d)*(-e)-(c*g))/a);
System.out.println(x);
}
}
hasilnya adalah -11
Minggu, 28 Oktober 2012
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar