i do not know why but when I try and calculate 4.2 million and 5000 it gives me -884901888. i am using dev-c++ 4.9.9.2 as my compiler.
here is my code

#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
int blocks = 2400000;
int weight = 5000;
int total;

total = blocks * weight;
cout << "Weight is: " << total << endl;

system("PAUSE");
return EXIT_SUCCESS;
}