标签:
#include <iostream> using namespace std; int main() { int a= 10,b = 89; for(int i = 1;i <= 40; i++) { b = b-a; if(i%2==0) b = b*2; if(i%3==0) a= a*2; } cout << a << ‘ ‘ << b ; system("pause"); return 0; }
标签:
原文地址:http://www.cnblogs.com/ekinzhang/p/4392052.html