Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EROR #307

Open
Subhiadz opened this issue Sep 26, 2024 · 0 comments
Open

EROR #307

Subhiadz opened this issue Sep 26, 2024 · 0 comments

Comments

@Subhiadz
Copy link

// 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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant