Calculate the Formula Value

# Introduction This program calculates the value of a+aa+aaa+aaaa with a given digit as the value of a. The user needs to input a single digit and the program will output the calculated value.

|
60 : 00

Click the virtual machine below to start practicing