27-11-16, 09:34 PM
PHP كود :
Dim arr(29) As String
For i = 0 To 29
Dim s = TextBox1.Text
If s = "End" Then Exit For
arr(i) = s
Next
TextBox2.Text = String.Concat(arr)
TextBox2.Text = String.Join(" ", arr)
هذا السؤال
The following program will read words from the user and store it in array. It stops when the user enters "End". Concatenate the words together and print it in one line as the figure below. The maximum length of array is 30.
المشكلة في الكود اي جملة اكتبها يكررها 30 مره وانا ابغاه ياخذ من الجملة كلها بس 30 مع حساب السبيس