How to write an algorithm to sum n numbers. Enter a positive integer: 50 Sum = 1275.