I know you can print with printf() and puts(). I can also see that pr开发者_JS百科intf() allows you to interpolate variables and do formatting.