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.
You don't need to check the
(count > 2)
every iteration (there may be millions of them) - only whencount
changes...Hi,
I'm not a C# coder but I noticed two problems with your code.
For example, if p is 1100 and p0 is at 1000, aug is 0 and percent is 10 then you'd count up once to make p0 = 1100
but because p0 is still equal to pmax it increments again.
Description says:
Ive spent like an hour trying to figuere out what was wrong with my code when all I had to do is to divide the percent with 100 ffs.