#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);
}
write a c++ program to convert binary number to decimal number by using while statement
The binary equivalent of the decimal number 63 is 111111.
The binary number 11.1 in decimal would be 3.5
Binary 110111 is equivalent to decimal 55.
Convert 189 to binary number
13 in decimal = 1101 in binary.
How is this a question? Sounds like you should do more of your homework offline.
110010000
It is 100011.
It is 155.
You can easily convert decimal to binary in the scientific calculator - for example, the scientific calculator found in Windows. In this case, type the number in decimal, then click on "binary" to convert to binary.
The decimal equivalent of the binary number 11101 is 29.