标签:io os sp for 问题 as c++ ios c
<pre name="code" class="cpp">#include<iostream> using namespace std; int main() { double sum=0; for(int i=0;i<6;++i) { if(i%2==0) sum+=1; else { sum=sum/2; } } cout<<sum<<endl; system("pause"); return 0;
标签:io os sp for 问题 as c++ ios c
原文地址:http://blog.csdn.net/qq_22335577/article/details/40985715