mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-24 22:39:52 +03:00
fix: Update conversions/binary_to_decimal.c (#730)
First printf(): newline character changed from /n to \n
This commit is contained in:
parent
b8da721481
commit
b282b95d5b
@ -8,7 +8,7 @@
|
||||
int main()
|
||||
{
|
||||
int remainder, number = 0, decimal_number = 0, temp = 1;
|
||||
printf("/n Enter any binary number= ");
|
||||
printf("\n Enter any binary number= ");
|
||||
scanf("%d", &number);
|
||||
|
||||
// Iterate over the number until the end.
|
||||
|
Loading…
Reference in New Issue
Block a user