2
Answers

Converting numbers and add/mul/div

Ask a question
Guyav

Guyav

17y
2.2k
1
I would appreciate if someone here can help me with the following:
I need to write a small program in C# that does the following:

 1. Collect from a user 2 numbers (different bases - Bin, Oct, Dec or Hex) and store them in integer 
 2. Then collect the operation from the user (+, -, *, /)
 3. Then collect in what base the result will be presented (Bin, Oct, Dec or Hex)
 4. And then print the result

No graphics is required here. Something to run from the command line.
I know it is simple but could not figure how to do it,
I would appreciate your help here,
Thanks,
Dana.

Answers (2)