Sabtu, 15 Oktober 2011


(Matematika.java)

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author COMPAQ
 */
public class Matematika {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
         int bil_a, bil_b, hasil;
        bil_a = 68;
        bil_b = 112;
        hasil = bil_a + bil_b;
        System.out.println (hasil);
    }

}


run:
180
BUILD SUCCESSFUL (total time: 0 seconds)


Tidak ada komentar:

Posting Komentar