Hi. I need to make a program that will accept a input from
the user repeatedly until I input + or - sign. Then program will get another second input again till i put "=" sign.
The output will be sum or subtraction depend on what sign I put earlier. both input & output is using Decimal.
Simply
input : 1st input 2nd input = output
_________ + _________ = ________
i have done until accepting input.. but i don't how to print
out the output..
1234 + 123 - 243 = xxxx
1 - 232 + 24235 = xxxxx
5555 + 333 + 222222 = xxxxxx
5 + 2 - 4 + 10 - 2 = xx
something like these...