In file included from /in/main/main.cpp:2:0:
/in/cashingmachine.h:11:34: warning: extra ';' [-Wpedantic]
int cas[6]={100,50,20,10,5,1};;
^
/in/cashingmachine.h: In member function 'void CashingMachine::change(std::vector<int>, int)':
/in/cashingmachine.h:89:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (give+have[scan]*cas[scan]>ch && have[scan]>=0)
^~~~~
/in/cashingmachine.h:91:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
give+=have[scan]*cas[scan];
^~~~