| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
c++1000pro#include <iostream.h>
#include <stdlib.h>
int main()
{
int a,b,c,i;
cout<<"a";
cin>>a;
cout<<"b";
cin>>b;
c=a;
for(i=0;i<=b;i++)
{
c=a+i;
}
cout<<c;
system("PAUSE");
return 0;
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator