摘要:
#include using namespace std;void showmenu(void){ cout>input; while(input) { switch(input) { case 'c':cout>input; } system("pause"); return 0;} 阅读全文
摘要:
#include #include using namespace std;const int MAXSIZE=10;int main(){ double dd[MAXSIZE]; double donation; double aver=0; int num=0; int i=0; while(i>donation && !isdigit(donation)) { dd[i]=donation; aver+=dd[i]; i++; //(cin>>donation).get(); } if(i) aver=aver/i; else aver=0; fo... 阅读全文