Unformatted text preview: 6. If Sum < (n(n+1))/2), then input (Sum+X+1) as X into the algorithm and repeat 7. Add 1 + X until Sum= (n(n+1))/2) 8. Display Sum Yes...
View Full Document
This note was uploaded on 10/17/2011 for the course COMP APPS CS 170 taught by Professor Appenzeller during the Spring '11 term at Rutgers.
- Spring '11