Guyav

Guyav

  • NA
  • 3
  • 0

Converting numbers and add/mul/div

Jul 30 2007 4:16 AM
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)