0

C# program to find some of series

Given a natural number n where (1<=n<=9) find the sum of series having n number of number such that the series n,nn,nnn..times sample input 2 output is like 2+22 is 24 , sample input 3 then 3+33+333 is 369 kindly help me

2nd Nov 2020, 8:13 PM
Reshma sayyed
5 Respuestas
+ 2
Where is your try...? Try it and share your attempt..
2nd Nov 2020, 8:33 PM
Jayakrishna 🇮🇳
+ 2
Reshma sayyed write down the code in code playground ,save the code and share the link of it using the "+" button for the code playground click on your profile ,then click on code bits and finally click on "+" sign and choose c# code playground
2nd Nov 2020, 8:49 PM
Abhay
Abhay - avatar
+ 1
As a hint Run a for loop for n number and concatenate the string type of same number to the original number after every loop ,and then convert the number back to int to add them ,
2nd Nov 2020, 8:44 PM
Abhay
Abhay - avatar
0
Abhay thank you,how can I share my code here with you my try so that you can help me soon bcz it's urgent please
2nd Nov 2020, 8:48 PM
Reshma sayyed
0
Ohhh grand thank you Abhay,I have queries in 3 ,4 program all I have tried but little bit confusing,as I am fresher,I hope you will help me in thatr,I will share my all code here, thank you
2nd Nov 2020, 8:58 PM
Reshma sayyed