Hoşgeldiniz...

Murat by Güncelleme on Mayis 24, 2009 • Yorum (64)

Html Coderz World

Sitene Hesap Makinesi

sablon
SAYI ISLEMCISI S.1.0
1.sayi
2.sayi
sonuç

©2008 www.htmlkod.tr.gg
<html> 
<head> 
<title>sablon 
</title> 
<script language="javaScript"> 

function topla(ne){ 
ne.sonuç.value=parseFloat(ne.say1.value)+parseFloat(ne.say2.value); 
} 
function çikar(ne){ 
ne.sonuç.value=parseFloat(ne.say1.value)-parseFloat(ne.say2.value); 
} 
function çarp(ne){ 
ne.sonuç.value=parseFloat(ne.say1.value)*parseFloat(ne.say2.value); 
} 
function böl(ne){ 
ne.sonuç.value=parseFloat(ne.say1.value)/parseFloat(ne.say2.value); 
} 
function ort(ne){ 
ne.sonuç.value=[parseFloat(ne.say1.value)+parseFloat(ne.say2.value)]/2; 
} 
</script> 

</head> 
<body> 
<table border="0" width="200"bgcolor="black"><tr><td> 
<form name="formum"><font color="white"> 
<center><b>SAYI ISLEMCISI S.1.0</b></center> 
1.sayi<input type="text" name="say1"> 
<br>2.sayi<input type="text" name="say2"> 
<br>sonuç<input type="text" name="sonuç"> 
<center> 
<input type="button" value="+" onclick="topla(this.form)"> 
<input type="button" value="-" onclick="çikar(this.form)"> 
<input type="button" value="x" onclick="çarp(this.form)"> 
<input type="button" value="/" onclick="böl(this.form)"> 
<input type="button" value="ort" onclick="ort(this.form)"> 
<input type="reset" value="SIL"><hr>©2008 www.htmlkod.tr.gg</form> 

</td></tr></table> 
</body> 
</html>

Bugün 47533 ziyaretçi (89117 klik) kişi burdaydı!
Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol