C++编程语言

日期:2015-06-23 10:03:59 人气:2

C++编程语言

#include #include #include using namespace std;int test(int c){ int a, b; //int c; int answer; while(true) { a=rand()*100; b=rand()*100; if(a+b=0) break; } char op; op=(c==0)?'+':'-'; cout>answer; in
    A+
热门评论