Created
April 21, 2015 02:02
-
-
Save eriwiana/8e2b2ae484c67b9fcc18 to your computer and use it in GitHub Desktop.
KonversiDollar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package konversi; | |
public class KonversiDollar { | |
private int ValueDollar; | |
private double KonversiNilai; | |
private String KonversiInput; | |
public KonversiDollar(){} | |
public KonversiDollar(String KonversiInput){ | |
} | |
public String getKonversiInput(String getKonversiInput){ | |
KonversiInput = getKonversiInput; | |
System.out.println(KonversiInput); | |
return KonversiInput; | |
} | |
public double setValueDollar (double getvalD){ | |
KonversiNilai = getvalD; | |
return KonversiNilai; | |
} | |
public void getValueDollar (){ | |
ValueDollar = 11457; | |
KonversiNilai = ValueDollar * KonversiNilai; | |
System.out.println(KonversiNilai); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment