1 2 3 4 5 6 7 8 9 10 11 bool Repeat() { char again; cout again; // notice semi-colon here too if(again == 'y') return true; return false; }
www.cplusplus.com