Konu
Asp yardım
25-11-2010, 00:34:59
#11
ShekerChi
Üyeliği durduruldu
asal sayı olayı
<%
sayi = 7
for i=2 to sayi-1
if sayi mod i = 0 then
asallik = "False"
exit for
end if
next
if asallik = "False" then
response.write "girilen sayı asal değildir"
else
response.write "girilen sayı asaldır."
end if
%>