answersLogoWhite

0

#include<stdio.h>

main()

{

int d,a;

printf("enter the number");

scanf("%d",&a);

do

{

d=a%2;

}

while(a=0);

printf("binary=%d",&d);

}

User Avatar

Wiki User

13y ago

What else can I help you with?