+ 1
Write a program that takes an integer number n as input and find out the sum of the following series up to n terms. 1 + 12 + 123
help me
4 Réponses
+ 3
b=0
s=0
for i in 1..n
s=10*s+i
b+=s
+ 2
Did you try it yourself? If not then try first and ask wherever you got stuck.
+ 2
Tousif Riyad , please post your attempt here, it does not matter if the code has issues. Thanks!
0
help me , i try it but failed