Create a program to determine the amount of net pay in the input of the basic salary plus the bonus amount is also entered. To find the bonus formula is the amount added bonus multiplied by the base salary. Net salary = salary + bonus amount. Hint: Use 5 different functions:
main ()
Input Data ()
bonus ()
net salary ()
total salary ()
main ()
Input Data ()
bonus ()
net salary ()
total salary ()
===========================================================================
Buat Program untuk menentukan jumlah gaji bersih dari gaji pokok yang diinputkan ditambah dengan jumlah bonus juga diinputkan. Untuk mencari bonus rumusnya adalah jumlah bonus yang dimasukkan dikalikan dengan gaji pokok. Gaji bersih = gaji pokok + jumlah bonus. Petunjuk: Gunakan 5 macam fungsi:
main()
Input Data()
bonus ()
gaji bersih()
gaji total()
main()
Input Data()
bonus ()
gaji bersih()
gaji total()
Script Program :
Screenshot :
Try It and Good Luck!!!
No comments:
Post a Comment