Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- string series;
- getline(cin, series);
- int season, volume;
- cin >> season >> volume;
- double time;
- cin >> time;
- double minutes = (int)((double)season * volume * time * 1.2 + season * 10);
- cout << "Total time needed to watch the " << series << " series is " << minutes << " minutes.\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement