摘要:
#include using namespace std; int main(){ //C++当中字符数组赋值,''单引号中不能为空 char talk[10]={'G','o',' ','p','a','l','y','e','r','!'}; for(int i=0;i using namespace std; int main(){ //C++当... 阅读全文
摘要:
#include<iostream> using namespace std; int main() { int arr[10]={6,98,498,56,43,646,894,46,8,89}; for (int i=0;i<10;i++){ cout<<"Êý×é˳Ðò"<<i<<"µÄÊýÖ 阅读全文
摘要:
#include using namespace std; int max(int x ,int y,int z); int main() { int a,b,c,m; cout>a>>b>>c; m=max(a,b,c);//实际参数 ,代表具体数值,在()当中 coutx) x=z; if(y>x) x=y; ... 阅读全文