Created
April 21, 2015 02:02
-
-
Save eriwiana/0d2b85d77e7aa1a01ebb to your computer and use it in GitHub Desktop.
KonversiYen
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 KonervsiYen { | |
private int ValueYen; | |
private double KonervsiNilai; | |
private String KonervsiInput; | |
public KonervsiYen(){} | |
public KonervsiYen(String KonervsiInput){ | |
} | |
public String getKonervsiInput(String getKonervsiInput){ | |
KonervsiInput = getKonervsiInput; | |
System.out.println(KonervsiInput); | |
return KonervsiInput; | |
} | |
public double setValueYen (double getvalD){ | |
KonervsiNilai = getvalD; | |
return KonervsiNilai; | |
} | |
public void getValueYen (){ | |
ValueYen = 11457; | |
KonervsiNilai = ValueYen * KonervsiNilai; | |
System.out.println(KonervsiNilai); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment