Swift Program to Create a Jagged Array

Swift program to create a jagged array // Swift program to create a jagged array import Swift let twoArr: [[Int]] = [[1,3,5,7], [2,4,6],[8,9]] // print first row. print("First Row:") print(twoArr[0][0])…

0 Comments