Book club points earned c# array

Need help with c# project. I need to calculate points earned from total books purchased each month, the result needs to be stored into an array that will keep 6 months of monthly totals and then output it to a message box.

Hi there.

A link to the exercise/project is always helpful, but…

It sounds like you already kind of have a handle on the algorithm. If you break it down into steps, you should be able to accomplish this.

For each of the last 6 months:

  1. Calculate the total for the first month.
  2. Add that month’s total to the array.
  3. Repeat 1 and 2 for each month afterwards.
  4. Output the result.

You got this! :slight_smile: