using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hitungan_Gaji
{
class Program
{
static void Main(string[] args)
{
Console.Write("Input Gaji Pokok = Rp. ");
int Gaji = int.Parse(Console.ReadLine());
Console.Write("Input Tunjangan = Rp. ");
int Tunj = int.Parse(Console.ReadLine());
Console.Write("Input Bonus = Rp. ");
int Bonus = int.Parse(Console.ReadLine());
Console.Write("Input Hutang Pinjaman = Rp. ");
int HutPin = int.Parse(Console.ReadLine());
Console.Write("Input Pendapatan Tidak Kena Pajak (PTKP) = Rp. ");
int PTKP = int.Parse(Console.ReadLine());
Console.Write("Input Besaran PPh (%) = ");
int PPh = int.Parse(Console.ReadLine());
Console.WriteLine("");
int BPJS = (Gaji + Tunj)/100;
int GajKot = Gaji + Tunj + Bonus - BPJS;
int Pajak = (GajKot - PTKP) *PPh;
int GajBer = GajKot - HutPin - Pajak;
Console.WriteLine("Besaran Iuran BPJS = Rp. {0}",BPJS);
Console.WriteLine("Besar Gaji Kotor = Rp. {0}",GajKot);
Console.WriteLine("Besar Pajak (5%) = Rp. {0}",Pajak);
Console.WriteLine("Besar Gaji Bersih = Rp. {0}",GajBer);
Console.ReadKey();
}
}
}