تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.NET] سؤال في الاري
#2
PHP كود :
Dim n(9) As Integer
For 0 To 9
    n
(i) = Val(InputBox("Enter number:"))
Next

Label1
.Text String.Join(" "n)

For 
0 To 9
    
If (n(iMod 2) = 0 Then
        Label2
.Text &= n(i) & " "
    
End If
Next

For 0 To 9
    
If (n(iMod 2) = 0 Then
        n
(i) = -1
    End 
If
    
Label3.Text &= n(i) & " "
Next 

Val:
Returns the numbers contained in a string as a numeric value of appropriate type
الرد }}}
تم الشكر بواسطة: a_abdullah , a_abdullah


الردود في هذا الموضوع
سؤال في الاري - بواسطة a_abdullah - 26-11-16, 09:12 AM
RE: سؤال في الاري - بواسطة amgad525 - 26-11-16, 09:44 AM
RE: سؤال في الاري - بواسطة a_abdullah - 26-11-16, 12:28 PM

التنقل السريع :


يقوم بقرائة الموضوع: