Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

convert-bin-to-dec

Learn Pascal with my boy 🤞

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

text
< Viết chương trình chuyển đổi nhị phân sang thập phân >

# Ý tưởng:
1 0 0 1 0 1 1
6 5 4 3 2 1 0 --> 2^6 + 2^3 + 2^1 +2^0 = 75

# Prototype:
input: binary string
output: integer number