Given a list of instructions, create an algorithm to solve the problem.
// Algorithm to compute the sum of a given number of items 

START 

Step 1: Ask the user to input the number of items (n) 
Step 2: Read in the n item numbers 
Step 3: Set the sum of items (s) to 0 
Step 4: For each item, add the item number to s and increment the item counter 
Step 5: Print the result of s 

END