double razmer;
const int film = 760;
cout << "Enter size flashdisk:";
cin >> razmer;
cout << "on the flash drive fits " << (int)(razmer*1024 / film) << " movies" << endl;
system("pause");
const int film = 760;
cout << "Enter size flashdisk:";
cin >> razmer;
cout << "on the flash drive fits " << (int)(razmer*1024 / film) << " movies" << endl;
system("pause");
Комментариев нет:
Отправить комментарий