networking
write a c program that takes a binary file as input and finds error check using different mechanisms.
write a c++ program to convert binary number to decimal number by using while statement
to implement operations on binary heap in c
#include<stdio.h> void main() { int n; clrscr(); printf("enter a no."); scanf("%d",&n); if(n%10==0n%10==1) printf("yes binary"); else printf("not binary"); getch(); } }
How is this a question? Sounds like you should do more of your homework offline.
Decimal 18 is 10010 in binary
Decimal 23 is 10111 in binary
Decimal 26 is 11010 in binary
Decimal 27 is 11011 in binary
11001 16 + 8 + 1
Decimal 20 is 10100 in binary
Decimal 28 is 11100 in binary