[C++] 纯文本查看 复制代码 #include<iostream>
using namespace std;
int main(){
int a=0,b=1,t,n=1;
for(n=2;n<=200;n++){
a=a+b;
b=a+b;
}
cout<<b;
}[mw_shl_code=cpp,true]#include<iostream>
c++:
英文书写 缩进键 符号成对 空格保存
[mw_shl_code=cpp,true]swap(a,b);
a=a+b
b=a-b
a=a-b
using namespace std;
int main(){
int arr[8]={10,20,30,40,50,60,70,80};
cout<<arr[0]<<" "<<arr[7];
}[/mw_shl_code][/mw_shl_code]
整 浮点 字符 布尔
|