#include /*performs math and displays in columns; floating-point version*/ #define START 2 /* lower limit of table */ #define UPPER 2000 /* upper limit of table */ main() { printf ("decimal hexadecimal octal \n"); int numa; int numb = 1; int numc = 5; int numd = 7; for (numa = START; numa <= UPPER; numa *= 2) printf("%9d %9x %9o\n", numa, numa, numa); }