0

Write a program to generate the series: 1,9,25,49,81,121,169,225,289,361 using do...while() loop.

Dear friends i want this program's code please give me

25th Apr 2018, 5:26 AM
black stone
4 Answers
+ 3
Here is a more pythonic solution, using a lambda function. https://code.sololearn.com/cu7Mqhya2jpS/?ref=app
25th Apr 2018, 7:30 AM
Johannes
Johannes - avatar
+ 1
https://www.tutorialspoint.com/cplusplus/cpp_do_while_loop.htm
25th Apr 2018, 5:47 AM
jerome
+ 1
Please check this code for C++ solution: https://code.sololearn.com/cB8rgji5OEH3
25th Apr 2018, 7:47 AM
jerome
+ 1
#Python rules print([p*p for p in range(1,20,2)])
25th Apr 2018, 11:34 AM
Louis
Louis - avatar