please help me to create a code for this using Bufferreader.. thanks
Welcome to Nancy's Addition Tutorial Program!
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Enter 2 3‐digit numbers please, separated by a space and press enter: 123 678
You requested the following operation:
num1: 123
num2: + 678
‐‐‐‐‐
1st addition:
last digit of each number
3 + 8 = 11 so answer is 1 with a carry of 1
2nd addition:
the carry from previous addition plus the middle digit of each number
1 + 2 + 7 = 10 so answer is 0 with a carry of 1
3rd addition:
the carry from previous addition plus the first digit of each number
1 + 1 + 6 = 8 so answer is 8
Final answer:
num1: 123
num2: + 678
‐‐‐‐‐
answer: 801
All done!