SP FOR
¦¢ ¦¢ ASP §Õ
*
***
*****
*******
§â §à
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>¦® </title>
</head>
<body>
<%
dim n,i,a,b
for n=1 to 7 step 2
i = 0
a = 0
b = (7 - n)/2
for a = 1 to b
response.write " "
next
for i = 1 to n
response.write "*"
next
response.write "<br>"
next
%>
</body>
</html>
Shuro's Bloghttp://www.shuro.cn ¡Â§Ý§Ý