Skip to content

Instantly share code, notes, and snippets.

@eriwiana
Created April 21, 2015 02:02
Show Gist options
  • Save eriwiana/0d2b85d77e7aa1a01ebb to your computer and use it in GitHub Desktop.
Save eriwiana/0d2b85d77e7aa1a01ebb to your computer and use it in GitHub Desktop.
KonversiYen
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