12345678910
#include<iostream> using namespace std; int main; { int n, a=0, sum; do{cin>>n;}while(n<0); do{sum=sum+a; a=a+3;}while(a<n); cout<<sum; system("PAUSE"); return 0;}
int main;
int main()
system("something");
cin.get();
123
int main() { //stuff }
do { cin>>n; } while(n<0);