close

VB

Private Sub CommandButton1_Click()
For i = 1 To 10
Cells(1, i) = i
Next
End Sub

vb 1~10  123123  

java

public class Loop1to10 {
public static void main(String[] args) {
for(int i = 1; i < 11; i++)
System.out.print(i + " ");
}
}

87545454656  

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>

 8754547865656    

arrow
arrow
    全站熱搜

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