Write an Algorithm and draw a flowchart that will convert a given decimal number (N10) to its equivalent Binary number (N2).
Expert's answer
1. If N10 is 0, set N2 equal 0and go tostep82. Set N2 as an empty string
3. If N10 equal 0, go tostep4. Set D equal the remainder of dividing N10 by 25. Add D as the leftmost digit to N2
6. Set N10 equal quotient of dividing N10 by 27. Go tostep38. Stop