Formatting output: printf()
Format:
printf(format-control-string, print-list);
Example:
printf("That equals %.2f centimetres.\n", cm);
Previous slide
Next slide
Back to first slide
View graphic version