Pemberian Komisi Pada Salesman
Posted by Budi Arieyanto | Posted in Borlant C++ | Posted on 05.06
#include <stdio.h>
#include <iostream.h>
#include <conio.h>
void main()
{
int MB;
clrscr();
cout<<"Penjualan Selesman : Rp.";
cin>>MB;
if(MB ==200000)
cout<<"\n\nUJ Rp.10000 +UK 10% Dari hasil yang diperoleh"<<endl;
else if(MB >200000 & MB <=500000)
cout<<"\n\nUJ Rp.20000 +UK 15% Dari hasil yang diperoleh"<<endl;
else if(MB >500000)
cout<<"\n\nUJ Rp.30000 +UK 20% Dari hasil yang diperoleh"<<endl;
getch();
}


Comments (0)
Posting Komentar