main() long int i,n,x=0,a printf("Enter any binary number: ") scanf("%ld",&n) printf("\nThe decimal conversion of %ld is ",n) for(i=0;n!=0;++i)
確定! 回上一頁