Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (price < 11){
- price= price * 50;
- } else if (price < 21){
- price= (price-10) * 40 + 10*50;
- } else {
- price= (price-30) * 30 + 10*50 +10*40;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement