Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main(int argc, const int * argv[]) {
- int diskSpace, filmsQuantity;
- const int filmMb = 760;
- std::cout << "How many films on the Flash Disk \n";
- std::cout << "Please Enter the Flash Disk Space (In Gb) : \n";
- std::cin >> diskSpace;
- filmsQuantity = diskSpace * 1024 / filmMb;
- std::cout << "You can download " << filmsQuantity << " films on your flash disk. " << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement