Quote:
it showing result 10 but i want result n=10.05
please help me
So you tried 1 thing, it is not the result you expect, so you abend and you call for help.
In the job of programming, there are 2 things
debug and
experiment.
If you experiment, you will see that your formula gives results 0, 5, 10, 15, 20 ...
Try values different than 5 and see what you get, it shouldn't be long before you find the correct value.
It is really not complicated.
This experiment is trial and error learning, it usually improve your learning curve, but you have to do the job yourself.