#include<stdio.h>void ejz(int );void bjz(int );void sljz(int );void main(){ int i; scanf("%d",&i); printf("二进制为:"); ejz(i); printf("八进制为:"); bjz(i); printf("十六进制为:"); sljz(i);}void ejz(int a){ int c,b; b=a/2; if(b!=0) ejz(b); c=a%2; printf("%d",c);}void bjz(int a){ int c,b; b=a/8; if(b!=0) bjz(b); c=a%8; printf("%d",c);}void sljz(int a){ int c,b; b=a/16;if(b!=0) ejz(b); c=a%16; printf("%d",c);}