52 Posted Topics
Re: add cin.ignore(); after the use of cin before the use of getline, from where you use cin it still holds \n from when you pressed enter so when you use getline the 1st thing it reads is what were last there, which because of the cin earlier happens to be … | |
Re: I think the most problems lay in the way you've defined your functions/prototypes. For example the names & return type are different, for example you list all function prototypes as returning void yet when you actually wrote the function they are set to return type double. You also prototype their … |
The End.