mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-25 23:09:36 +03:00
Merge pull request #161 from Aditibansal2603/master
Update binary_to_decimal.c
This commit is contained in:
commit
28e13c66f3
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user