I can't seem to work this out. It's really difficult. I've been trying for hours and I always get errors. Please help me.

I have no idea how to write a code that will let me input how many variables I want.


Write a program that will enable you to enter a certain amount of values

Eg. 4

And then add the corresponding integers.
Ex.

Choice: 4

12 34 56 78

The sum of the integers is: 180.