Pure Programmer
Blue Matrix


Cluster Map

Project: Math Constants

Write a program that prints the values for π, 𝑒 φ (Golden Ratio) and ln 2. Use named constants for all three values.

Output
$ swiftc MathConstants.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)

Solution