include iostream include conio int iSpeed min data int main cout Enter

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include <iostream.h>
#include <conio.h>
int iSpeed, min, data;
int main()
{
cout << "Enter you'r internet speed (kbit/s)" << "\n";
cin >> iSpeed;
cout << "Enter time (min)" << "\n";
cin >> min;
data = (iSpeed * 60 * min) / 8 / 1024;
cout << "You will be download " << data << " Mb";
getch();
}