![]() |
|
[VB.NET] اريد كود للبرنامج التالي بطريقة general procedures - نسخة قابلة للطباعة +- منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب (http://vb4arb.com/vb) +-- قسم : قسم لغة الفيجوال بيسك VB.NET (http://vb4arb.com/vb/forumdisplay.php?fid=182) +--- قسم : قسم اسئلة VB.NET (http://vb4arb.com/vb/forumdisplay.php?fid=183) +--- الموضوع : [VB.NET] اريد كود للبرنامج التالي بطريقة general procedures (/showthread.php?tid=18261) |
اريد كود للبرنامج التالي بطريقة general procedures - a_abdullah - 05-12-16 هذا السؤال لمن يستطيع فهمه Write a VB program that takes an array as input an integer from the user and displays the maximum and minimum value. This processing must be in a function procedure and the result should be displayed in the event procedure (button click).also you must display even numbers in this array by subroutine procedure.
RE: اريد كود للبرنامج التالي بطريقة general procedures - amgad525 - 05-12-16 sample TextBox1 text: 2,3,4,5,6,7 (event procedure (button click PHP كود : Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Clickfunction procedure Maximum PHP كود : Function GetArrayMaximumValue(arr As Integer()) As IntegerPHP كود : Function GetArrayMaximumValue(arr As Integer()) As Integerfunction procedure Minimum PHP كود : Function GetArrayMinimumValue(arr As Integer()) As IntegerPHP كود : Function GetArrayMinimumValue(arr As Integer()) As Integerdisplay even numbers subroutine procedure PHP كود : Sub DisplayArrayEvenNumbers(arr As Integer())RE: اريد كود للبرنامج التالي بطريقة general procedures - a_abdullah - 05-12-16 (05-12-16, 01:21 PM)amgad525 كتب : sample TextBox1 text: 2,3,4,5,6,7بس عشان افهم ليش حطيت هنا me Dim splt() As String = Me.TextBox1.Text.Split(",") |