Pure Programmer
Blue Matrix


Cluster Map

Project: FICA Taxes

The Federal Insurance Contributions Act (FICA) is made up of two items, Social Security and Medicare taxes. In 2020 for wage earners that earn less than $137,700 per year, the Social Security tax rate is 6.2% and the Medicare tax rate is 1.45%. Write a program that computes the monthly paycheck for someone who earns a salary of $60,000. Print the base pay monthly pay, Social Security tax, Medicare tax and then the final net pay (base minus taxes).

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