hi i'm a newbie to C programming and got a homework that I couldn't even start...
It's about making a program that gets to hex numbers, add them and show the results.
It should look like
Enter the first number:
Enter the second number:
number 1
+
number 2
---------
sum
the thing is the results should be aligned to the right
and the number of '-' in the results should equal to the largest number of digits...
For example,
first number: A444444
second number: B1234567
A444444
+
B1234567
(7 '-') => --------
result
and the results should only contain capital letters
Can anyone help me making a program like this?
Thanks a lot....