I need to create these functions for my Stations class
void update() const - accepts the number of passes sold and updates the data for each station in turnvoid restock() const - accepts the number of passes added and updates the data for each station in turnvoid report() const - reports the number of passes currently available at each station
I think posting the original question given to you would help quite a bit, because the numbers in the given file don't add up and don't help with guidance. Also... please don't name variables things like "int a" "int s" "string n" they mean nothing to people reading your code.
You have no arguments for the 3 functions you're supposed to create.