Java Playground - Sum of the type a+aa+aaa+...+aa..aaa with n digits: Online Interpreter, Compiler & Editor | Sololearn

Sum of the type a+aa+aaa+...+aa..aaa with n digits

+9