Understand All about Windows 7 Tips and Tricks, Fashion,Technology, Sports, Games,Windows 8 ,Computer Science ,Essay ,Application and more useful content here, Simply to Read and Enjoy it.
Private Sub Command1_Click() Dim r As Integer Dim n As Integer Dim s As Integer s = 0 n = 1 Do r = n Mod 2 If r = o Then s = s + n n = n + 1 Loop While n <= 10 MsgBox ("Sum of first ten even number is " & s) End Sub
No comments:
Post a Comment