Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Clever, but certainly not best practice. This code is unreadable and unadaptable.
You know it doesn't kill to have a few more lines? Bad practice.
How will this work in ticket(25,25,50,50,100)?? In this/similar case any of the 'e==100' condition will render n25 < 0 which is not possible as currency can't go -ive.