Write an Algorithm and draw a flowchart that will convert a given decimal number (N10) to its equivalent Binary number (N2).
1
Expert's answer
2021-11-10T06:34:34-0500
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
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments