Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- int hallRent;
- cin >> hallRent;
- double statues = hallRent * 0.7;
- double catering = statues * 0.85;
- double soundSystem = catering / 2;
- printf("%.2f\n", hallRent + statues + catering + soundSystem);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement