#include int BinaryGray(intx);//prototipo int ingresaNum();//prototipo int BinaryGray(int x){ x=x^(x>>1); return x; } int ingresaNum(){ int x=0; printf("Ingrese numero\n"); scanf("%d",&x); return x; }