Swift program to create an alias of basic types
typealias MyIntType = Int;
typealias MyFloatType = Float;
var num1:MyIntType = 10;
var num2:MyFloatType = 20;
print("Num1: ",num1);
print("Num2: ",num2);
Output:
Num1: 10
Num2: 20.0
...Program finished with exit code 0
Press ENTER to exit console.
