Hi
Finally the day came which I was waiting for weeks
Although I wanted to make 85th DC but no one posted 84th DC so I have to post it.
Today’s challenge is to make a procedure which takes
a - initial value
d - common difference
f - number of terms
as input (int) and returns the terms of A.P.(arithmetic progression) in CSV format.
Something like this:
Note: 1.Number of blocks does not matters.You can use as much blocks as you want but don’t compromise with speed and accuracy
2.number of terms means next n number of terms.First number is the initial value and you have to find next n terms of A.P
Arithmetic Progression is 5th chapter of my Math’s book which I have read today in the morning
Oops…my mistake
I forgot to mention that number of terms means next n number of terms.
First number is the initial value and you have to find next n terms of A.P.
Well done guys
Everyone has posted unique and correct solution so it was quite hard for me to choose the best solution.
But since @Fabio posted the correct solution first so I think he deserves this Green Tick