Pure Programmer
Blue Matrix


Cluster Map

Project: Seconds in a Year

Write a program that computes the number of seconds in a year. Use named constants for the various factors you need like SECONDS_PER_MINUTE or MINUTES_PER_HOUR. Our Gregorian calendar year is 365.2425 days long.

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