// we.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
#include "stdafx.h"
#include <stdlib.h>
int main()
{ int i,sum=0,a,total;
for(i=1;i<=5;i++)
{ printf("please enter a number\n");
scanf("%d",&a);
sum=sum+a;
if(total>7)break;
}
printf("%d\n",sum);
system("pause");
}