Hi, I get a WA for this ARITH problem
my input
9
11*0
1234+6789
541-23
100-99
467*32
2*759
1234*9
123+999
909*999
my output
[code] 11 *0 -- 0 1234 +6789 ----- 8023 541 - 23 ---- 518 100 - 99 ---- 1 467 *32 --- 934 1401 ----- 14944 2 *759 ---- 18 10 14 ---- 1518 1234 *9 ---- 11106 123 +999 ---- 1122 909 *999 ---- 8181 8181 8181 ------ 908091[/code]
P.S for 100-99, there is a space before 100. same for 541-23, 123+999, 1234+6789
So are there any formats that do not follow the expected output, or if there is not, what other input I shall use to see if my format is wrong? Thanks for help.