Project: Array Last Element
Write a program that declares an integer array and initializes it with a number of values. Then have the program print out just the last element of the array. You can not hard code the index of the last element but must determine it dynamically from the array itself. Try changing the array initializer to test out arrays of differing lengths.
Output
$ swiftc ArrayLastElement.swift -I . -L . -lUtils
error: link command failed with exit code 1 (use -v to see invocation)
ld: library not found for -lUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)