#include #include int main() { int number; // declaring an integer variable printf("Enter an integer: "); scanf("%d",&number); //reads the number printf("In decimal number system => %d\n",number); // displays the number in decimal number system printf("In hexadecimal number system => %x\n",number); // displays the number in hexadecimal number system printf("In octal number system => %o\n",number); // displays the number in octal number system system("pause"); return 0; }