Output justify
#include <stdio.h> int main(void) { printf(".........................\n"); printf("right-justified: %8d\n", 100); printf(" left-justified: %-8d\n", 100); return 0; }