Binary to Decimal Number Converter Flowchart
Introduction
Let’s create Binary to Decimal Number Converter flowchart using RAPTOR flowchart application. Example binary to decimal conversion:
binary = 101
decimal = 1*2^2 + 0*2^1 + 1*2^0
= 4 + 0 + 1
= 5
Pseudocode
START Dim digit Dim quotient Dim bNumber Dim dNumber Dim i PROMPT "Enter binary number=" Input bNumber dNumber = 0 quotient = bNumber i = 0 Do Until quotient = 0 digit = quotient Mod 10 quotient = floor(quotient / 10) dNumber = dNumber + (digit * 2 ^ i) i = i + 1 Loop Output "Given Binary number=" + bNumber Output "Equivalent Decimal Number=" + dNumber END
Binary to Decimal Number Converter Flowchart
Sample Output
Given Binary number=10111
Equivalent Decimal Number=23
More Flowchart Examples
https://www.testingdocs.com/raptor-flowchart-examples/
Raptor Tutorial
Raptor Tutorials on this website can be found at:
https://www.testingdocs.com/raptor-a-flowchart-tool/
RAPTOR official website: https://raptor.martincarlisle.com/