摘要:
#include #include #include using namespace std; //post expression compute int compute(int num1, int num2, char op) { if (op == '+') return num1 + num2; else if (op == '-') return num1 - num2; ... 阅读全文
posted @ 2016-10-20 12:24
KennyRom
阅读(194)
评论(0)
推荐(0)
摘要:
#include #include #include #include using namespace std; char compare(char tp, char op) { if (((tp == '+' || tp == '-') && (op == '*' || op == '/')) || (tp == '#')) return ''; } int main() { st... 阅读全文
posted @ 2016-10-20 12:06
KennyRom
阅读(482)
评论(0)
推荐(0)
摘要:
#include #include #include #include using namespace std; char compare(char tp, char op) { if (((tp == '+' || tp == '-') && (op == '*' || op == '/')) || tp == '#') return ''; } int main() { stac... 阅读全文
posted @ 2016-10-20 11:05
KennyRom
阅读(168)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std; char compare(char tp, char op) { if (((tp == '+' || tp == '-') && (op == '*' || op == '/')) || (tp == '#')) return ''; } int compute(int n1, int n... 阅读全文
posted @ 2016-10-20 10:34
KennyRom
阅读(286)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std; char compare(char tp, char op) { if (((tp == '+' || tp == '-') && (op == '*' || op == '/')) || (tp == '#')) return ''; } int compute(int n1, int n... 阅读全文
posted @ 2016-10-20 09:58
KennyRom
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号