In a very famous game known as "Clash Royal", There is a very powerful warrior named "The Wizard" which can be purchased from the card shop.
Cost increases in an interesting manner i.e
Cost of 1st Wizard is: 50 coins
Cost of 2nd Wizard is: 100 coins
Cost of 3rd Wizard is: 150 coins
Cost of 4th Wizard is: 200 coins
Cost of 5th Wizard is: 250 coins
i.e to buy 5 wizrds you need 50+100+150+200+250 = 750 coins.
How many wizards can you buy using 10000 coins ?
Solution:
19
Explanation:
The Cost of 1st Wizard is: 50 i.e Total coins spend: 50
The Cost of 2nd Wizard is: 100 i.e Total coins spend: 150
The Cost of 3rd Wizard is: 150 i.e Total coins spend: 300
The Cost of 4th Wizard is: 200 i.e Total coins spend: 500
The Cost of 5th Wizard is: 250 i.e Total coins spend: 750
The Cost of 6th Wizard is: 300 i.e Total coins spend: 1050
The Cost of 7th Wizard is: 350 i.e Total coins spend: 1400
The Cost of 8th Wizard is: 400 i.e Total coins spend: 1800
The Cost of 9th Wizard is: 450 i.e Total coins spend: 2250
The Cost of 10th Wizard is: 500 i.e Total coins spend: 2750
The Cost of 11th Wizard is: 550 i.e Total coins spend: 3300
The Cost of 12th Wizard is: 600 i.e Total coins spend: 3900
The Cost of 13th Wizard is: 650 i.e Total coins spend: 4550
The Cost of 14th Wizard is: 700 i.e Total coins spend: 5250
The Cost of 15th Wizard is: 750 i.e Total coins spend: 6000
The Cost of 16th Wizard is: 800 i.e Total coins spend: 6800
The Cost of 17th Wizard is: 850 i.e Total coins spend: 7650
The Cost of 18th Wizard is: 900 i.e Total coins spend: 8550
The Cost of 19th Wizard is: 950 i.e Total coins spend: 9500
The cost of 20th Wizard is: 1000 i.e Total coins spend: 10500 .... more than 10,000.