You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Tentukan gaji bulanan berdasarkan Posisi
if (posisi == "Barista") {
gaji_bulanan = 2400000; // Gaji untuk Barista
} else if (posisi == "Kasir") {
gaji_bulanan = 2000000; // Gaji untuk Kasir
} else if (posisi == "Waiters") {
gaji_bulanan = 1800000; // Gaji untuk Waiters
} else {
cout << "Posisi tidak dikenal, gaji bulanan diatur ke 0." << endl;
gaji_bulanan = 0; // Set gaji bulanan ke 0 jika posisi tidak dikenal
}
cout << "Masukkan Lama Kerja (dalam bulan): ";
cin >> bulanKerja;
The text was updated successfully, but these errors were encountered:
// Tentukan gaji bulanan berdasarkan Posisi
if (posisi == "Barista") {
gaji_bulanan = 2400000; // Gaji untuk Barista
} else if (posisi == "Kasir") {
gaji_bulanan = 2000000; // Gaji untuk Kasir
} else if (posisi == "Waiters") {
gaji_bulanan = 1800000; // Gaji untuk Waiters
} else {
cout << "Posisi tidak dikenal, gaji bulanan diatur ke 0." << endl;
gaji_bulanan = 0; // Set gaji bulanan ke 0 jika posisi tidak dikenal
}
The text was updated successfully, but these errors were encountered: