Computer Science, asked by vasantharasu2021, 3 months ago

Raj wants to convert binary number to decimal number system. Binary number system is a base 2 number system. It uses only 2 symbols to represent all its numbers i.e. 0 and 1. Build an algorithm for this conversion.

Answers

Answered by gs622762
1

Answer:

6a6ywyebr

Explanation:

Rhine effects dude she's dhdhdbff xhsiwbwsbjxjc. u u I I I I I I I I I I know k k k k k k JK. JK k k k k k k k k k k k kg k k k k. K JK j j j j j j j JK j k j k k JK. JK j j j JK j j j j k k k k ki k k

Answered by yuvateja809
0

Answer:

1.START

2. Take a binary number as the input

3. Divide the number by 10 and store the remainder into variable rem.

4. decimal_num = decimal_num + rem * base;

5. Divide the quotient of the original number by 10.

6. Multiply the base by 2.

7. Print the decimal of the binary number.

8. END

Explanation:

Initially, the decimal_num is 0, and the base is 1, where the rem variable stores the remainder of the number.

Similar questions