Starting from:

$30

DisplayNumberSystem Assignment #1 Solution

Write a program called DisplayNumberSystems (lastname_numbers_system.py) that will display binary, Ternary, Quaternary, octal,

and hexadecimal equivalents of the decimal number enter and same for binary number. You may use your own choice of method(s) based on

your approach otherwise include methods in your program as follows:

* convertToBinary

* convertToTernary

* convertToQuaternary

* convertToOctal

* convertToHex

* convertToDec

Note: naming convention used for methods and class name above is for java. You should follow the naming convention that is used for python

programming. Follow the link: https://www.python.org/dev/peps/pep-0008/

More products