//While loop in an array

var array = [7, 23, 98, 1, 0, 763]

a = 0

while a < array.count{

  array [a] += 1

    a += 1

}

print(array)