1#include <stdio.h>2int main() {3 printf("%5d\n", 42);4 printf("%-5d|\n", 42);5 printf("%.3f", 3.14159);6 return 0;7}