You are Here: Home >< Maths

# help! Watch

1. A discount store is having a sale. Every day for seven days it is reducing prices by 10% on its top three items: the nose cleaner, the pet duster, and the refrigerator air freshener. There is only one constraint on the sale, no item’s price should drop below its cost price (what the store paid for it).
Below are the cost and current retail prices of the three items in question.
Product Cost price Retail price
Nose Cleaner £30 £99.99
Fridge Fresh £65 £84.99
Pet Duster £50 £89.99

Write pseudocode to display the profit for each item every day for seven days.

Therefore you should see something like this:

Day 0
Profit for nose cleaner is 69.99
Profit for pet duster is 39.99
Profit for fridge fresh is 19.99

Day 1
Profit for nose cleaner is xx.xx
Profit for pet duster is yy.yy
Profit for fridge fresh is zz.zz

(continue until you see the following – this is not part of the outpout)

Day 7
Profit for nose cleaner is xx.xx
Profit for pet duster is yy.yy
Profit for fridge fresh is zz.zz

[xx.xx; yy.yy and zz.zz are numeric values that your pseudocode must calculate automatically by taking into account that the price drops by 10% every day but also remembering that the sale price cannot go lower than the cost price]
2. dont know where to start

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: December 10, 2010
Today on TSR

Find out how.

### Want £10K to start a business?

Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams

## Groups associated with this forum:

View associated groups
Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.