User:Bn335/sandbox/swiftBonus

Bonuses

 * //مصفوفة Array (list of items) index رقم لكل خلية
 * var vLista:[Int] = [21, 55]
 * var vListc:[Int] = []
 * var vListb = [21, 55, 19, 22, 22, 37, 88, 71]


 * var vLista:[Int] = [21, 55] // array 1x2
 * var array2D:Int = 1, 2],[4, 6 // array 2x2 (\2D matrix)
 * var array3D:[Int] = [1, 2], [3, 4, 5, 6], [7, 8] //2x2x2 (\3D matrix)
 * var array3D:[Int] = [1, 2, 3], [3, 4, 3, 5, 6, 4], [7, 8, 5] //3x2x2 (\3D array)
 * //matlab 1d array is like c = [1, 2, 3, 4, 5, 6] 1x6 array (row array) (\row victor)(\horizontal victor) (\horizontal line)
 * //matlab 2d array is like c = [1, 2, 3; 4, 5, 6] 3x2 array
 * //matlab 1d array is like c = [1; 2; 3; 4; 5; 6] 6x1 array (column array) (\column victor) (\vertical victor) (\vertical line)
 * //matlab 2d array is like c = [1, 2; 3, 4; 5, 6] 3x2 array


 * //Dictionary قاموس Key Value
 * var vDictb:[String:[String:String]] = [
 * "Phone": ["iPhone14" : "Hi"]
 * ]
 * print(vDictb)


 * // More about functions


 * //Example for class with functions