So I'm working on my mid term for my intro to programming class. My teacher has admitted he doesn't know any of the things he is teaching very well. The book hasn't really explained the material I need to know to complete this. I'm just starting out learning this stuff so if anyone could help me it would be much appreciated.
That being said, what I'm trying to do is make an application where the user inputs a variable that is multiplied by each element in a one-dimensional array(8 elements) and then displays each elements individual total and add those totals up for a grand total. The part I am stuck on is multiplying the variable by each element in the array. Everything else I feel like I can figure out. Would anyone be willing to lend me some of their knowledge?