Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int fee;
- cin >> fee;
- double shues = fee * 0.6;
- double dresses = shues * 0.8;
- double balls = dresses / 4;
- double accessories = balls / 5;
- printf("%.2f\n", fee + shues + dresses + balls + accessories);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement