Commit Graph

7 Commits

Author SHA1 Message Date
David Leal
d222df7dc1
[feat/docs]: improve the binary to decimal algorithm (#1263) 2023-05-30 10:30:13 -06:00
Indrranil Pawar
6915d59738
feat: improve conversions/binary_to_decimal.c (#1262)
* Update binary_to_decimal.c

1. Removed the unused variable remainder.

2. Changed the variable name number to binary_number for clarity.

3. Removed the initialisation of number and temp since they are assigned values later.

4. Removed the newline character from the printf statement to improve readability.

5.Added a return statement at the end of main function.

* Update binary_to_decimal.c
2023-05-29 09:09:21 -06:00
Nicola Masarone
b282b95d5b
fix: Update conversions/binary_to_decimal.c (#730)
First printf(): newline character changed from /n to \n
2020-10-29 15:06:30 -06:00
github-actions
6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
github-actions
0779a2b70d formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
Aditibansal2603
a9d91b4c31
Update binary_to_decimal.c 2018-10-06 00:04:48 +05:30
KylerSmith
f0bb982627 File clean-up 2017-07-12 17:09:15 -07:00