Merge pull request #161 from Aditibansal2603/master

Update binary_to_decimal.c
This commit is contained in:
Ashwek Swamy 2019-02-11 05:43:09 +05:30 committed by GitHub
commit 28e13c66f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
int main() { int main() {
int remainder, number = 0, decimal_number = 0, temp = 1; int remainder, number = 0, decimal_number = 0, temp = 1;
printf("Enter any binary number= "); printf("/n Enter any binary number= ");
scanf("%d", &number); scanf("%d", &number);
// Iterate over the number until the end. // Iterate over the number until the end.