Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    0
    ReputationRep:
    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]
    • Thread Starter
    Offline

    0
    ReputationRep:
    dont know where to start
 
 
 
  • 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
    What newspaper do you read/prefer?
    Useful resources

    Make your revision easier

    Maths

    Maths Forum posting guidelines

    Not sure where to post? Read the updated guidelines here

    Equations

    How to use LaTex

    Writing equations the easy way

    Student revising

    Study habits of A* students

    Top tips from students who have already aced their exams

    Study Planner

    Create your own Study Planner

    Never miss a deadline again

    Polling station sign

    Thinking about a maths degree?

    Chat with other maths applicants

    Can you help? Study help unanswered threads

    Groups associated with this forum:

    View associated groups
  • 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

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