Question: Assume n is between 1 and 9 Write a program in C to display the sum of the series n+nn + nnn + nnnn+... where

Assume n is between 1 and 9
Write a program in C to display the sum of the series n+nn + nnn + nnnn+... where n is input by user If n =1, Output = 1 If n = 2, Output = 2+22 = 24 If n =3, Output =3+33+333=369 If n = 4, Output = 4+44+444+4444 = 4936 = If n = 5, Output =5+55+555+5555+55555= 61725
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
