Sie sind auf Seite 1von 2

Understanding the problem:

This assignment is divided into four different components. the problems are: converting
from decimal to binary, from binary to decimal, from decimal to hexadecimal, and from
hexadecimal to decimal. This problem also requires us to have the user choosing which
operation he wants to do and the input values. I am not too familiar with hexadecimal so how
to convert to and from decimal will be another task. The main method is going to be the one
controlling all the printing and the user input, connecting all the functions.

Testing table:

Case: Value Output


1 100101 37
111001 57
2 101 001100101
9 000001001
3 907 038B
984 03D8
4 32A7 12967
0F19 3865

Das könnte Ihnen auch gefallen