WELCOME STRANGER !!! Script Foxpro "Menghitung Luas Segitiga " | Marco Saryowan

Marco Frits Saryowan

Marco Frits Saryowan

Script Foxpro "Menghitung Luas Segitiga "


IF thisform.optiongroup1.option1.Value=1 then
   thisform.text3.Value=(0.5*(VAL(thisform.text1.Value)*VAL(thisform.text2.Value)))
   ELSE
IF thisform.optiongroup1.option2.Value=1 then
   thisform.text1.Value=(VAL(thisform.text3.Value)/(0.5*VAL(thisform.text2.Value)))
   ELSE
IF thisform.optiongroup1.option3.Value=1 then
   thisform.text2.Value=(VAL(thisform.text3.Value)/(0.5*VAL(thisform.text1.Value)))

ENDIF
ENDIF
ENDIF

-----------------------------------------------------------------------------------------------------

thisform.text1.Value=""
thisform.text2.Value=""
thisform.text3.Value=""
 
  



  

0 komentar :

Posting Komentar