my little program works now. from all your contributions. i feel as though ive accomplished something today.

but i used cin.ignore(); without the parameters. is this okay? or dangerous?