Your going to probably use cout to tell the user what to input, and explain what's going on. Then use cin to read whatever they typed. You'll need a 'for' loop to repeatedly do the calculations.
If you just started yesterday, I'm sure you'll need help, but have a look at what I posted, particularly up to and including control structures. Then post whatever code you've made and I'll see if I can help