Decimal to Binary Conversion (दशमलव से बाइनरी रूपांतरण ) :- Question -
Write an algorithm and flowchart to convert a decimal number into its binary equivalent.
एक दशमलव संख्या को उसके बाइनरी समतुल्य में बदलने के लिए एक Algorithm और Flowchart लिखिए।
Example -
Decimal Number: 13
Binary Equivalent: 1101
Algorithm
Example Logic -
13 ÷ 2 → Remainder 1
6 ÷ 2 → Remainder 0
3 ÷ 2 → Remainder 1
1 ÷ 2 → Remainder 1
Flowchart :-
