how to print the series and it's sum 1+(1+2)+(1+2+3)+(1+2+3+4)=20 if user enters 4:confused:
Separate names with a comma.