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.
what if sq = 2602 ?
51 * 51 -> 2601
sqrt(2602) -> 51,009803
returns 2705
52 * 52 -> 2704
MilkPrice(78, 1) => 0.00 !!!
there may be a lowest price.
public static double MilkPrice(double litres, double pricePerLitre, double lowestPricePerLitre)
MilkPrice(78, 1, 0.7) => 56.10
The results are the same! Aren't they?
It doesn't change the situation. Suppose your point is larger than the average.Adding your point increases the average but still smaller than your point.