# include<iostream>
using namespace std;
int main()
{
float ConnectionSpeed=0.0;
float FileSize=0.0;
float Conversion=0.0;
double min=0.0;
int x;
// Opening Statement made here.
cout << " This program will calculate the time it will take" << endl;
cout << " your crappy computer to download the file you want" << endl;
cout << " please visit
http://bandwidthplace.com/speedtest/" << endl;
cout << " To find out what your True bandwidth is." << endl;
cout << endl;
// add link to site to open here.
// User enters data here.
cout << " Enter your connection speed in Kb: ";
cin >> ConnectionSpeed;
cout << " Enter your File size in MB: ";
cin >> FileSize;
// calculations made here.
FileSize = FileSize * 1000000;
ConnectionSpeed = ConnectionSpeed * 1000;
ConnectionSpeed = ConnectionSpeed / 8;
Conversion = FileSize / ConnectionSpeed;
min = Conversion / 60;
// results returned.
cout << " It will take you " << min << " Minutes to download that file." << endl;
cout << endl;
cout << " ***** Built by InfantryGhost *****" << endl;
cin >> x;
// End of program.
return 0;
}