+ 3
Challenge sequence 2:. 1,1,4,8,9,27,16,64,25,125.... Code it...All languages welcome
All languages welcome.... code it..
6 Respostas
+ 7
I hope I got the idea:
It's like:
1²,1³,2²,2³,3²,3³
And it continues this way.
Am I right?
+ 3
https://code.sololearn.com/cXYR1KO2150P/?ref=app
In one line 🙂
+ 2
my try in cpp
https://code.sololearn.com/cpefzI70sg4G/?ref=app
+ 2
How's this for concise c++?
https://code.sololearn.com/cOPUipPJ9J77/#cpp
+ 1
@amrit
code it...than you will get complete sequence with the logic