// a program to add up the square of all the numbers between 1 and 5000
// this program has a bug that will provide undefined behaviour but not 
// stop it compiling
#include "stdafx.h"
#include <iostream>
#include <stdlib.h>
using namespace std;

int main()
{

  int n=5000;
  int sum=0;

  for(i=1;i<n;i++;){
    sum += i*i;
 
  cout.precision(16);
  cout << " the value for the square of " << n < " numbers is " << sum
  // the solution should be 41679167500
  return 0.;
}