$. PROGRAM PENGHITUNGAN GAJI



Public class Gaji {
public static void main(String[] args) {
String golongan = "3A";
int gaji;
if (golongan == "2A") {
gaji= 500000;
} else if (golongan == "2B") {
gaji = 700000;
} else if (golongan== "3A") {
gaji = 1000000;
} else if (golongan== "4A") {
gaji = 1500000;
} else if (golongan== "4B") {
gaji = 2000000;
} else {
gaji = 0;
}
System.out.println("gaji adalah " + gaji);
}
}


1 komentar:

Anonim mengatakan...

ERROR SEJUTA

Posting Komentar