Negotiation…
Your in high stake negotiation with Bob. The pressure is on to get the product you need for the best price possible. The starting price is £100k. You happen to know that Bob is very predictable when negotiating. When you make an offer Bob will to one of the following.
- He will walk away if your over 50% away from his asking price.
- If you are within 25% to 50% then he will allow you to make another offer.
- If you are within 10% and 24% then he will reduce his offer by 5%.
- If you are within 0% and 9% he will accept your offer
- If you offer more than what he was asking then he will accept the offer and say your mad!
Write a program which acts as Bob. You need to make offers and the program should respond as Bob would respond.

You need to log in or create an account to submit code!











