payroll with validation (Tugas Besar Pemrograman Dasar)