#include<iostream.h>
#include<conio.h>
#include<string.h>
void main()
{
int kode[10];
int i; char nama [20]; long harga;
for (i=0; i<10; i++)
{
gotoxy(60,i);cout<<"kode :" ;cin>>kode[i];
}
gotoxy(10,3);cout<<" - - - - - - - - - - - - - -";
gotoxy(10,4);cout<<" Kode jabatan Gaji Tunjangan ";
gotoxy(10,5); cout<<" __________________________";
for(i=0; i<10; i++){
if (kode[i]==1){
strcpy(tunj,"35%");
gaji= 2500000;
}else if(kode[i]==2){
strcpy (tunj, "10%");
harga=2000000;
} else if(kode[i]==3){
strcpy (tunj,"5%");
harga=150000;
} else strcpy(nama, "_ _");
{
ne jawaban soal no.3 pak,,
BalasHapusharap maklom pak
:)