C examples for Language Basics:printf
Do math calculation inside printf() function
#include <stdio.h> int main()/* ww w . j a v a 2 s .co m*/ { printf("for %d years.\n",65-19); printf("for %d years.\n",969-65); return(0); }