Hello, trying to get back into c++ but I'm having a hard time. Getting errors with me struct variable usage on lines 31 and 33,and I'm not sure why. Advice would be appreciated.
division[x].quarter[i] is OK (returns a double) division[x].quarter[i].sales is not OK because double has no member called sales.
So I guess that you actually want to define a new struct for quarter that has members sales, average, total.