2. si için ;

int tvfiyat = 1500;
int primk = 15; // yüzde prim

int sonuc = (tvfiyat / 100) * primk;

MessageBox.Show(sonuc.ToString());