Tugas PBO 1

/**
 * @(#)Tugas1.java
 *
 *
 * @author
 * @version 1.00 2013/9/26
 */

import java.io.*;
public class Tugas1 {
       public static void main (String args[]){
           int hp=1000000;
           int dp=100000;
           int ttlpemb;
           ttlpemb = hp-dp;
           System.out.println ("=========================");
           System.out.println ("Harga Pembelian = "+hp);
           System.out.println ("Diskon Pembelian = "+dp);
           System.out.println ("--------------------------");
           System.out.println ("Total Pembelian = "+ttlpemb);
           System.out.println ("=========================");
       }
}




0 komentar:

Posting Komentar

About

Pengikut

 
Real Estate © 2010 Template design by Justinwoodie.com. Provided By Free Blogger Templates | Freethemes4all.com
Free Website templatesFree Flash TemplatesRiad In FezFree joomla templatesSEO Web Design AgencyMusic Videos OnlineFree Wordpress Themes Templatesfreethemes4all.comFree Blog TemplatesLast NewsFree CMS TemplatesFree CSS TemplatesSoccer Videos OnlineFree Wordpress ThemesFree Web Templates