0
You are provided with a number "N", Find the Nth term of the series: 1, 4, 9, 16, 25, 36, 49, 64, 81, .......
An integer N is provided to you as the input.
9 Respuestas
+ 2
I can help you to write it yourself: Follow the steps that I suggest and show your code. Then I will check on your code and tell you how to improve it
+ 1
What is your question? Please tag the relevant programming language!
+ 1
You can use a for-loop: On each iteration, square the current number.
+ 1
chandrakanth karamthod
Please always post your attempts with your question so we can find where you are getting problem and guide you about to solve problem.
0
Ok
0
Tq
0
Somerhing like;
Number=serie[N]
- 2
Can u pls write code