#include <stdio.h> int main() { int day=9,m,n=1; while(day>0) { m=(n+1)*2; n=m; day--; } printf("the total is %d.\n",m); return 0; }
本文出自 “探IT精英路者” 博客,请务必保留此出处http://1154915583.blog.51cto.com/10798650/1704342
原文地址:http://1154915583.blog.51cto.com/10798650/1704342