+ 3
Derivative calculator
I created this code, do you see any special case I should cover? I'm aware this leaves 0 on the result, I'm going to fix it soon. Thanks for your feedback :) https://code.sololearn.com/c4jyoxYk6c86/?ref=app
3 Réponses
+ 6
Nice code..
But it is a little wrong .
When I write 12x^2 + 13x + 10
It gives the output :- 12x + 13 + 0
but it should be like 24x + 13 + 0
+ 4
Nice now it works well.
+ 3
@Atijrant Negi {Gamma} Thank you! I forgot to multiply by the exponent if it wasn't bigger than 2. It should work fine now!