i got errors on this code i'm suppose to figure out which of the company's 4 divisions had the greatest sales for the quarter. let me know if i'm missing something.
the errors are on lines 7,8,17,18,19,27,30.
Line 7 - indentifier 'division'
Line 8 - 'double' should be preceded by ';'
Lines 17,18,19 - cannot convert parameter 1 from 'char [15]' to 'char'
Line 27 - same as Line 7
Line 30 - 'division' : undeclared identifier
division [ ] does not appear to be declared or initialised
division does not appear to be declared
getSales () no char variable and no array type - doesn`t do much does it?
the char div1 [15] arrays should probably be string s1= "............. " because there is no code to print these arrays. If u change it would need the cstring header.