/**
* @(#)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 ("=========================");
}
}
* @(#)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 ("=========================");
}
}
S
Tidak ada komentar:
Posting Komentar