Method name and format string conversions

Adjusted method names to camelcase
Used %n rather than \n in printf stmts