Ask the user how many numbers for which they want to calculate the sum. Using a for loop, prompt the user to enter that many num
bers, one-by-one, keeping track of the sum. At the end, after the user entered all numbers, output the sum. Create a variable and assign it the value of 0
Prompt the user for how many numbers they have
With a for loop, set it to repeat enough times to get all their values
Prompt the user for a number
Add that number to the variable that started as 0
Output to the user, the sum of all values
We need to know about materials cost and how things are produced how much they pay their workers things like that to understand the comparative advantages