the class method and private members are all given, i just need to implement it ... so i cant change it..
but the "outcome" came out as rubbish value..
and sometimes there is an error saying total not declared.. or reference const char[] to char[] which i tried using strcpy(outcome, "High") but it is still rubbish value.. Please help :')
The code above doesn't compile, there are numerous errors - missing closing braces, collection[3] declared without a type, wrong names used in main ... etc.