I want to make a program that generates a series using function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to make a program that generates a series using function

This function should take first and last values of series and then generates four terms that are equidistant eg if two numbers passed are 1 and 7 then function returns 1357.

10th Jun 2019, 5:28 PM
AJ
AJ - avatar
3 Answers
+ 7
Here is your program . Nice assignment bro 😉. I was bored and was searching for such an assignment. Thanks for posting this question.🙏 I have used A.P. here . AP is arithmetic progression where the Terms are seperated by a common difference. Thanks https://code.sololearn.com/c8HW81JD9Ame/?ref=app
11th Jun 2019, 5:36 AM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 2
Good luck!
10th Jun 2019, 5:45 PM
777
777 - avatar
+ 1
thank for giving solution
11th Jun 2019, 6:06 PM
AJ
AJ - avatar