Problem
D.java
Sample Running :
3
4 + 16 / 4 * 3 + 6 * 2
6 * 2 + 3 * 2 / 2
12 * 6 * 7 / 4 * 5 + 6 * 4 - 4 / 2
Case #1: / * * + + 28
Case #2: * * / + 15
Case #3: * * / * * / + - 652
4 + 16 / 4 * 3 + 6 * 2
6 * 2 + 3 * 2 / 2
12 * 6 * 7 / 4 * 5 + 6 * 4 - 4 / 2
Case #1: / * * + + 28
Case #2: * * / + 15
Case #3: * * / * * / + - 652
you can test it by your self..
i hope you like this souce code...
and please give some comment....
Created By : Z-man, 2013
No comments:
Post a Comment