Program Menghitung Gaji Karyawan/i Dengan C++

#include<stdio.h>
#include<stdlib.h>
#include<conio.h>

main()
{
char nomor[6],nama[25];
float gajipokok,lembur,tunjangan,gajitotal;

printf(“Masukan Nomor Pegawai = “);
gets(nomor);
printf(“Masukan Nama Pegawai = “);
gets(nama);
printf(“Gaji Pokok = “);
scanf(“%f”,&gajipokok);
printf(“Jumlah Jam Lembur = “);
scanf(“%f”,&lembur);
printf(“Tunjangan = “);
scanf(“%f”,&tunjangan);

lembur=(0.03*lembur*gajipokok);
tunjangan=(0.15*gajipokok);
gajipokok=(gajipokok);
gajitotal=(gajipokok+tunjangan+lembur);
puts(“\n”);
printf(“Gaji Pokok =%2.2f\n”,gajipokok);
printf(“Tunjangan =%2.2f\n”,tunjangan);
printf(“Upah Lembur =%2.2f\n”,lembur);
printf(“=========================================\n”);
printf(“TOTAL GAJI = %2.2f”,gajitotal);

getch();
return 0;
}