#!/usr/bin/lua local str = string.format("%-10s %-10s %8s", "Lastname", "Firstname", "Amount"); print(str) local str = string.format("%-10s %-10s %8s", "--------", "---------", "------"); print(str) local str = string.format("%-10s, %-10s contributed $ %8.2f", "Anderson", "Al", "1200"); print(str) local str = string.format("%-10s, %-10s contributed $ %8.2f", "Foster", "Fred", "32.67"); print(str) local str = string.format("%-10s, %-10s contributed $ %8.2f", "Jones", "John", "400"); print(str) local str = string.format("%-10s, %-10s contributed $ %8.2f", "Smith", "Sam", "900"); print(str)