bilangan promosi

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

package program;

/**
 *
 * @author untung
 */
public class BilPromosi{
    public static void main(String[] args) {
        double bil2;
        float bil3=100.34f;
        int i=2000;
        bil2=bil3+1-290;

        System.out.println("nilai i    = "+i);
        System.out.println("bilai bil2 = "+bil2);
        System.out.println("nilai bil3 = "+bil3);
    }
}

0 komentar:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | SharePoint Demo