Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- double rent;
- cin >> rent;
- double cake = rent / 5,
- drinks = cake * 0.55,
- animator = rent / 3;
- cout << rent + cake + drinks + animator << endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment