ikilik sistemdeki sayıyı onluk sisteme çevirici bir program hazırlamaya çalıştım fakat çalışmadı hatam nerede acaba? #include <stdio.h> int main() { int a; int b; int c; int d; int decimal; printf("Enter a number in binary system:"),scanf("%d %d %d %d",&a,&b,&c,&d); decimal=(8*a)+(4*b)+(2*c)+(1*d); printf("decimal:%d",decimal); }