close


VB

Private Sub

CommandButton1_Click()

For i = 1 To 10

Cells(1, i) = i

Next

End Sub  

1426833526-166460107_n

java

public class Loop1to10 {

public static void main(String[] args) {

for(int i = 1; i < 11; i++)

System.out.print(i + " ");

}

}

1426833687-1906213023_n  

 

javascript
<html>
<head>
<title> The First Example: 1to 10 </title>
</head>
<body>
<h2> This line is HTML </h2>
<script language="JavaScript">
<!--
document.write("1,2,3,4,5,6,7,8,9,10.This sentence is written using JavaScript.");
// Text on the right of 2 slashes is comment
/* This is comment
that occur more than 1 line
*/
//-->
</script>
<noscript>
Sorry, but your browser doesn't run JavaScript.
</noscript>
<h2> This line is HTML </h2>
</body>
</html>

1426833842-3731211642_n  

 

arrow
arrow
    文章標籤
    沒練啦啦噴3000
    全站熱搜

    s8811171 發表在 痞客邦 留言(0) 人氣()