Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

An unblemished table or diagram is needed. Create a perfect solution immediately. AO 1 6 Tulis program bahasa C Seorang karyawan dibayar per jam. Tulis

An unblemished table or diagram is needed. Create a perfect solution immediately.
AO16
"Tulis program bahasa C
Seorang karyawan dibayar per jam. Tulis program bahasa C yang menerima nomor ID karyawan, tarifnya per jam, dan jumlah jam kerja selama 2 minggu, lalu menampilkan gaji kotor, total potongan, dan gaji bersihnya. Gunakan float sebagai tipe data.
Gunakan rumus berikut:
GAJI KOTOR (2 minggu)= tarif per jam* jumlah jam kerja
(catatan: seorang karyawan hanya dapat bekerja maksimal 8 jam per hari)
POTONGAN:
Pemotongan pajak menggunakan Fungsi pass-by-value
jika Gaji kotor:
<=10000: 15%
10001 hingga 20000: 17%
20001 hingga 30000: 20%
>30000: 22%
SSS =900
PHILHEALTH =150
PAG IBIG =150
TOTAL POTONGAN = pajak + asuransi kesehatan + philhealth + pagibig
GAJI BERSIH = gaji kotor total potongan
PROGRAM"

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions