摘要: #include "stdafx.h"#include<iostream>using namespace std; int _tmain(int argc, _TCHAR* argv[]){ int a,b,c=1; int m[8]; cout<<"输入台阶数"; cin>>a; m[0]=1,m 阅读全文
posted @ 2017-03-07 21:45 王钰琳 阅读(85) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include<iostream>using namespace std; int _tmain(int argc, _TCHAR* argv[]){ int m[7]={2,2,4,6,8,2,9 }; int a,b,max=0; for(a=0;a<7; 阅读全文
posted @ 2017-03-07 21:44 王钰琳 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include<iosrteam>using namespace std; int _tmain(int argc, _TCHAR* argv[]){ int m[3]={1,2,2}; int i=0 ,length=3; for(i=0;i<3;i++){ 阅读全文
posted @ 2017-03-07 21:43 王钰琳 阅读(83) 评论(0) 推荐(0) 编辑